homebrew-core/Formula/metapixel.rb
Jack Nagel 33a73dfa21 metapixel: avoid inreplace
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-12 23:20:41 -06:00

19 lines
563 B
Ruby

require 'formula'
class Metapixel < Formula
homepage 'http://www.complang.tuwien.ac.at/schani/metapixel/'
url 'http://www.complang.tuwien.ac.at/schani/metapixel/files/metapixel-1.0.2.tar.gz'
md5 'af5d77d38826756af213a08e3ada9941'
depends_on 'jpeg'
depends_on 'giflib'
def install
man1.mkpath
# separate steps
system "make", "CC=#{ENV.cc}",
"MACOS_LDOPTS=-L#{HOMEBREW_PREFIX}/lib",
"MACOS_CCOPTS=#{ENV.cflags} -I#{HOMEBREW_PREFIX}/include"
system "make", "PREFIX=#{prefix}", "install"
end
end