2010-11-27 14:03:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Pioneers < Formula
|
2012-01-15 20:29:53 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/pio/Source/pioneers-0.12.5.tar.gz'
|
2010-11-27 14:03:50 +00:00
|
|
|
homepage 'http://pio.sourceforge.net/'
|
2012-01-15 20:29:53 +00:00
|
|
|
md5 'fd0c25382e7ebea0709c9464395739a2'
|
2010-11-27 14:03:50 +00:00
|
|
|
|
|
|
|
depends_on 'intltool' # for NLS
|
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'gtk+'
|
2012-01-15 20:29:53 +00:00
|
|
|
depends_on 'librsvg' # svg images for gdk-pixbuf
|
2010-11-27 14:03:50 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
# fix usage of echo options not supported by sh
|
|
|
|
inreplace "Makefile.in", /\becho/, "/bin/echo"
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|