From 7d90e8ef05d62c8b50168dfed9a4dffda6cd22b2 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 13 Nov 2013 18:56:52 -0600 Subject: star 1.5.2 - Remove unnecessary static libs and headers, as well as files that conflict with smake --- Library/Formula/star.rb | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3