2011-08-09 04:38:42 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Star < Formula
|
|
|
|
url 'ftp://ftp.berlios.de/pub/star/star-1.5.1.tar.bz2'
|
|
|
|
homepage 'http://cdrecord.berlios.de/old/private/star.html'
|
|
|
|
md5 'f9a28f83702624c4c08ef1a343014c7a'
|
|
|
|
|
2011-11-30 02:55:55 +00:00
|
|
|
depends_on "smake" => :build
|
2011-08-09 04:38:42 +00:00
|
|
|
|
|
|
|
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"
|
2011-09-02 20:16:52 +00:00
|
|
|
|
|
|
|
# Remove symlinks that override built-in utilities
|
|
|
|
Dir.chdir bin do
|
|
|
|
Pathname.glob(%w[gnutar tar]) {|p| p.unlink}
|
|
|
|
end
|
2011-08-09 04:38:42 +00:00
|
|
|
end
|
|
|
|
end
|