renameutils: modernize
This commit is contained in:
parent
93e9d349fb
commit
2630b6ecfa
1 changed files with 6 additions and 8 deletions
|
@ -1,12 +1,10 @@
|
||||||
require 'formula'
|
|
||||||
|
|
||||||
class Renameutils < Formula
|
class Renameutils < Formula
|
||||||
homepage 'http://www.nongnu.org/renameutils/'
|
homepage "http://www.nongnu.org/renameutils/"
|
||||||
url 'http://download.savannah.gnu.org/releases/renameutils/renameutils-0.12.0.tar.gz'
|
url "http://download.savannah.gnu.org/releases/renameutils/renameutils-0.12.0.tar.gz"
|
||||||
sha1 '8c6edae4ee374330a01a95257fd552b5cb7540bc'
|
sha1 "8c6edae4ee374330a01a95257fd552b5cb7540bc"
|
||||||
|
|
||||||
depends_on 'readline' # Use instead of system libedit
|
depends_on "readline" # Use instead of system libedit
|
||||||
depends_on 'coreutils'
|
depends_on "coreutils"
|
||||||
|
|
||||||
# Use the GNU versions of certain system utilities. See:
|
# Use the GNU versions of certain system utilities. See:
|
||||||
# https://trac.macports.org/ticket/24525
|
# https://trac.macports.org/ticket/24525
|
||||||
|
@ -22,7 +20,7 @@ class Renameutils < Formula
|
||||||
"--with-packager=Homebrew"
|
"--with-packager=Homebrew"
|
||||||
system "make"
|
system "make"
|
||||||
ENV.deparallelize # parallel install fails
|
ENV.deparallelize # parallel install fails
|
||||||
system "make install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue