homebrew-core/Formula/renameutils.rb

28 lines
815 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Renameutils < Formula
homepage 'http://www.nongnu.org/renameutils/'
2012-03-31 18:38:45 +00:00
url 'http://nongnu.uib.no/renameutils/renameutils-0.11.0.tar.gz'
md5 'a3258f875d6077a06b6889de3a317dce'
depends_on 'readline' # Use instead of system libedit
depends_on 'coreutils'
# Use the GNU versions of certain system utilities. See:
# https://trac.macports.org/ticket/24525
def patches
{ :p0 =>
"https://trac.macports.org/export/91404/trunk/dports/sysutils/renameutils/files/patch-use_coreutils.diff"
}
end
def install
2012-03-31 18:38:45 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-packager=Homebrew"
system "make"
ENV.deparallelize # parallel install fails
system "make install"
end
end