diff options
| author | mystix | 2012-02-07 18:29:39 +0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-07 19:54:57 -0800 |
| commit | 1c1f1adcbcb748a724a76b1d9a1a35f85064d396 (patch) | |
| tree | ada5faf865d4e4bc0e9fd9e0166a746ac0597164 | |
| parent | 08f9d0bbb3ea88bc329cd4aeed3ec860c5f5a805 (diff) | |
| download | homebrew-1c1f1adcbcb748a724a76b1d9a1a35f85064d396.tar.bz2 | |
jsvc 1.0.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/jsvc.rb | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Library/Formula/jsvc.rb b/Library/Formula/jsvc.rb index 3ffb428fc..597070c31 100644 --- a/Library/Formula/jsvc.rb +++ b/Library/Formula/jsvc.rb @@ -1,12 +1,21 @@ require 'formula' class Jsvc < Formula - version '1.0.5' + version '1.0.8' homepage 'http://commons.apache.org/daemon/jsvc.html' - url "http://archive.apache.org/dist/commons/daemon/binaries/#{version}/darwin/commons-daemon-#{version}-bin-darwin-universal.tar.gz" - md5 '1d5f4b81e5ac18da0d58af421bc3c139' + url 'http://apache.oss.eznetsols.org//commons/daemon/source/commons-daemon-1.0.8-native-src.tar.gz' + md5 '9af73bf68f01c2ee7e6994c6dab0d5e8' def install + arch = Hardware.is_64_bit? ? "-arch x86_64" : "-arch i386" + ENV.append "CFLAGS", arch + ENV.append "LDFLAGS", arch + + prefix.install %w{ NOTICE.txt LICENSE.txt RELEASE-NOTES.txt } + + cd 'unix' + system './configure --with-java=/System/Library/Frameworks/JavaVM.framework --with-os-type=Headers' + system 'make' bin.install 'jsvc' end end |
