spiped: avoid inreplace
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
a6813009f4
commit
0805812bb0
1 changed files with 2 additions and 7 deletions
|
@ -1,16 +1,11 @@
|
||||||
require 'formula'
|
require 'formula'
|
||||||
|
|
||||||
class Spiped < Formula
|
class Spiped < Formula
|
||||||
url 'http://www.tarsnap.com/spiped/spiped-1.1.0.tgz'
|
|
||||||
homepage 'http://www.tarsnap.com/spiped.html'
|
homepage 'http://www.tarsnap.com/spiped.html'
|
||||||
|
url 'http://www.tarsnap.com/spiped/spiped-1.1.0.tgz'
|
||||||
sha256 'b727b902310d217d56c07d503c4175c65387ff07c9cd50a24584903faf9f3dc3'
|
sha256 'b727b902310d217d56c07d503c4175c65387ff07c9cd50a24584903faf9f3dc3'
|
||||||
|
|
||||||
def install
|
def install
|
||||||
inreplace 'Makefile' do |s|
|
system "bsdmake", "LDADD=-lcrypto", "BINDIR_DEFAULT=#{bin}", "install"
|
||||||
s.change_make_var! "LDADD", "-lcrypto"
|
|
||||||
s.change_make_var! "BINDIR_DEFAULT", bin
|
|
||||||
end
|
|
||||||
|
|
||||||
system "bsdmake install"
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue