homebrew-core/Formula/star.rb
2012-02-09 22:12:35 -08:00

20 lines
592 B
Ruby

require 'formula'
class Star < Formula
homepage 'http://cdrecord.berlios.de/old/private/star.html'
url 'ftp://ftp.berlios.de/pub/star/star-1.5.1.tar.bz2'
md5 'f9a28f83702624c4c08ef1a343014c7a'
depends_on "smake" => :build
def install
system "smake", "GMAKE_NOWARN=true", "INS_BASE=#{prefix}", "MANDIR=share/man"
system "smake", "GMAKE_NOWARN=true", "INS_BASE=#{prefix}", "MANDIR=share/man", "install"
# Remove symlinks that override built-in utilities
(bin+'gnutar').unlink
(bin+'tar').unlink
(man1+'gnutar.1').unlink
(man1+'tar.1').unlink
end
end