jsvc 1.0.9

Closes Homebrew/homebrew#10168.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
mystix 2012-02-14 16:28:03 +08:00 committed by Jack Nagel
parent b5362f1970
commit 0b7a01b2a1

View file

@ -1,10 +1,10 @@
require 'formula'
class Jsvc < Formula
version '1.0.8'
homepage 'http://commons.apache.org/daemon/jsvc.html'
url 'http://apache.oss.eznetsols.org//commons/daemon/source/commons-daemon-1.0.8-native-src.tar.gz'
md5 '9af73bf68f01c2ee7e6994c6dab0d5e8'
url 'http://apache.oss.eznetsols.org//commons/daemon/source/commons-daemon-1.0.9-native-src.tar.gz'
md5 '7f1296384b887ba852fddb4041bd219e'
version '1.0.9'
def install
arch = Hardware.is_64_bit? ? "-arch x86_64" : "-arch i386"
@ -14,7 +14,8 @@ class Jsvc < Formula
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 './configure', '--with-java=/System/Library/Frameworks/JavaVM.framework',
'--with-os-type=Headers'
system 'make'
bin.install 'jsvc'
end