homebrew-core/Formula/star.rb
fbrosson 40a7c9d315 star 1.5.3
Jörg Schilling released star 1.5.3 on 2014-05-21 and moved the project to SF.

Closes Homebrew/homebrew#30522.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-06-28 19:06:32 -05:00

27 lines
714 B
Ruby

require 'formula'
class Star < Formula
homepage 'http://cdrecord.org/private/star.html'
url 'https://downloads.sourceforge.net/project/s-tar/star-1.5.3.tar.bz2'
sha1 '9f94130c6cfab48a2b37fcd5a9ab21bb5c9b52a2'
depends_on "smake" => :build
def 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 useless files
lib.rmtree
include.rmtree
# Remove conflicting files
%w{makefiles makerules}.each { |f| (man5/"#{f}.5").unlink }
end
end