aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/jpeg.rb
diff options
context:
space:
mode:
authorMax Howell2009-07-23 13:03:15 +0100
committerMax Howell2009-07-23 13:03:15 +0100
commit5b82ee70d512ef8cf79242cd6d39c72f5310ef50 (patch)
tree6ddce967232074842d2a88f9a46580ea74165861 /Library/Formula/jpeg.rb
parentff4e7e4768d8688b0ced9a86f401d007b072046b (diff)
downloadhomebrew-5b82ee70d512ef8cf79242cd6d39c72f5310ef50.tar.bz2
Update JPEG to v7
Diffstat (limited to 'Library/Formula/jpeg.rb')
-rw-r--r--Library/Formula/jpeg.rb24
1 files changed, 3 insertions, 21 deletions
diff --git a/Library/Formula/jpeg.rb b/Library/Formula/jpeg.rb
index b0e264f8d..c920c3c29 100644
--- a/Library/Formula/jpeg.rb
+++ b/Library/Formula/jpeg.rb
@@ -1,30 +1,12 @@
require 'brewkit'
class Jpeg <Formula
- @url='http://www.ijg.org/files/jpegsrc.v6b.tar.gz'
- @md5='dbd5f3b47ed13132f04c685d608a7547'
+ @url='http://www.ijg.org/files/jpegsrc.v7.tar.gz'
+ @md5='382ef33b339c299b56baf1296cda9785'
@homepage='http://www.ijg.org'
- def initialize name
- super name
- # the jpeg group have one crazy ass naming scheme
- @version='6b'
- end
-
def install
- # --mandir='#{man}' doesn't do anything
system "./configure --disable-debug --prefix='#{prefix}'"
-
- # cope with braindead install system
- (prefix+'man'+'man1').mkpath
- bin.mkpath
- include.mkpath
- lib.mkpath
- # this package is shit
- inreplace 'Makefile', 'LIBTOOL = ./libtool', 'LIBTOOL = /usr/bin/libtool'
-
- system "make install install-lib install-headers"
- # fix manpages
- (prefix+'man').mv prefix+'share'
+ system "make install"
end
end \ No newline at end of file