aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-11-13 18:56:52 -0600
committerJack Nagel2013-11-13 23:01:23 -0600
commit7d90e8ef05d62c8b50168dfed9a4dffda6cd22b2 (patch)
treed03680039b090ce3c29337160ac91926d17feaf8 /Library/Formula
parent2467ee6f3ee0807d1708058255942caee639f322 (diff)
downloadhomebrew-7d90e8ef05d62c8b50168dfed9a4dffda6cd22b2.tar.bz2
star 1.5.2
- Remove unnecessary static libs and headers, as well as files that conflict with smake
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/star.rb21
1 files changed, 11 insertions, 10 deletions
diff --git a/Library/Formula/star.rb b/Library/Formula/star.rb
index f513f6d19..280834330 100644
--- a/Library/Formula/star.rb
+++ b/Library/Formula/star.rb
@@ -2,25 +2,26 @@ 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'
- sha1 '62ba0e0a995fc5deb492b025ecffe58735574b8a'
+ url 'ftp://ftp.berlios.de/pub/star/star-1.5.2.tar.bz2'
+ sha1 'be23b7c282dd4f8533be51129d980e03fc5f2365'
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"
+ ENV.delete 'MAKEFLAGS' # smake does not like -j
+
+ system "smake", "GMAKE_NOWARN=true", "INS_BASE=#{prefix}", "INS_RBASE=#{prefix}", "install"
# Remove symlinks that override built-in utilities
(bin+'gnutar').unlink
(bin+'tar').unlink
(man1+'gnutar.1').unlink
- # 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
+ # Remove useless files
+ lib.rmtree
+ include.rmtree
+
+ # Remove conflicting files
+ %w{makefiles makerules}.each { |f| (man5/"#{f}.5").unlink }
end
end