aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/devil.rb14
-rw-r--r--Library/Formula/vsftpd.rb10
2 files changed, 11 insertions, 13 deletions
diff --git a/Library/Formula/devil.rb b/Library/Formula/devil.rb
index ce55318f6..bb14f70c2 100644
--- a/Library/Formula/devil.rb
+++ b/Library/Formula/devil.rb
@@ -4,22 +4,22 @@ class Devil <Formula
url 'http://downloads.sourceforge.net/project/openil/DevIL/1.7.8/DevIL-1.7.8.tar.gz'
homepage 'http://sourceforge.net/projects/openil/'
md5 '7918f215524589435e5ec2e8736d5e1d'
-
+
depends_on 'jpeg'
depends_on 'libtiff'
- depends_on 'little-cms'
+ depends_on 'little-cms'
depends_on 'jasper'
- def patches
- # fix compilation issue for iluc.c
- DATA
- end
+ # fix compilation issue for iluc.c
+ def patches; DATA; end
def install
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--enable-ILU", "--disable-dependency-tracking"
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}", "--enable-ILU"
system "make install"
end
end
+
__END__
--- a/src-ILU/ilur/ilur.c 2009-03-08 08:10:12.000000000 +0100
+++ b/src-ILU/ilur/ilur.c 2010-09-26 20:01:45.000000000 +0200
diff --git a/Library/Formula/vsftpd.rb b/Library/Formula/vsftpd.rb
index ea8de17dc..f437e6263 100644
--- a/Library/Formula/vsftpd.rb
+++ b/Library/Formula/vsftpd.rb
@@ -5,18 +5,16 @@ class Vsftpd <Formula
md5 'bad7b117d737a738738836041edc00db'
homepage 'http://vsftpd.beasts.org/'
- def patches
- # Patch so vsftpd doesn't depend on UTMPX, and can't find OS X's PAM library.
- DATA
- end
-
+ # Patch so vsftpd doesn't depend on UTMPX, and can't find OS X's PAM library.
+ def patches; DATA; end
+
def install
inreplace "defs.h", "/etc/vsftpd.conf", "#{etc}/vsftpd.conf"
inreplace "tunables.c", "/etc", etc
inreplace "tunables.c", "/var", var
system "make"
- # make install has all the paths hardcoded, so it's simpler to do this by hand:
+ # make install has all the paths hardcoded; this is easier:
sbin.install "vsftpd"
man5.install "vsftpd.conf.5"
man8.install "vsftpd.8"