2010-05-26 18:49:40 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class OsspUuid < Formula
|
2011-02-21 18:37:28 +00:00
|
|
|
# url 'ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz'
|
|
|
|
# Official site is down, use a mirror
|
|
|
|
url 'http://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz'
|
2010-05-26 18:49:40 +00:00
|
|
|
homepage 'http://www.ossp.org/pkg/lib/uuid/'
|
|
|
|
md5 '5db0d43a9022a6ebbbc25337ae28942f'
|
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug",
|
2010-05-26 18:49:40 +00:00
|
|
|
"--without-perl",
|
|
|
|
"--without-php",
|
|
|
|
"--without-pgsql",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|