2011-08-09 04:38:42 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Star < Formula
|
|
|
|
homepage 'http://cdrecord.berlios.de/old/private/star.html'
|
2012-02-10 06:12:35 +00:00
|
|
|
url 'ftp://ftp.berlios.de/pub/star/star-1.5.1.tar.bz2'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '62ba0e0a995fc5deb492b025ecffe58735574b8a'
|
2011-08-09 04:38:42 +00:00
|
|
|
|
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
|
2012-02-10 06:12:35 +00:00
|
|
|
(bin+'gnutar').unlink
|
|
|
|
(bin+'tar').unlink
|
|
|
|
(man1+'gnutar.1').unlink
|
2013-01-04 21:18:27 +00:00
|
|
|
|
|
|
|
# Remove generic smake files that clash with smake's versions
|
|
|
|
(include/'schily').rmtree
|
|
|
|
%w[libschily.a libdeflt.a libfind.a].each do |file|
|
|
|
|
(lib/file).unlink
|
|
|
|
end
|
|
|
|
(lib/'profiled').rmtree
|
2011-08-09 04:38:42 +00:00
|
|
|
end
|
|
|
|
end
|