homebrew-core/Formula/apg.rb
2011-03-12 11:55:09 -08:00

19 lines
453 B
Ruby

require 'formula'
class Apg < Formula
url 'http://www.adel.nursat.kz/apg/download/apg-2.2.3.tar.gz'
homepage 'http://www.adel.nursat.kz/apg/'
md5 '3b3fc4f11e90635519fe627c1137c9ac'
def install
inreplace "Makefile" do |s|
s.remove_make_var! ["CC", "FLAGS", "LIBS", "LIBM"]
end
system "make standalone"
# Install manually
bin.install ["apg", "apgbfm"]
man1.install ["doc/man/apg.1", "doc/man/apgbfm.1"]
end
end