7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
19 lines
592 B
Ruby
19 lines
592 B
Ruby
require 'formula'
|
|
|
|
class Poco <Formula
|
|
url 'http://downloads.sourceforge.net/project/poco/sources/poco-1.3.6/poco-1.3.6p2-all.tar.bz2'
|
|
homepage 'http://pocoproject.org/'
|
|
md5 '8f1a6c3511764167d39f1950da3fcb37'
|
|
version '1.3.6p2'
|
|
|
|
def install
|
|
arch = Hardware.is_64_bit? ? 'Darwin_x86_64': 'Darwin'
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--config=#{arch}",
|
|
"--omit=Data/MySQL,Data/ODBC",
|
|
"--prefix=#{prefix}"
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|