p7zip: don't install docs as read-only
This commit is contained in:
parent
f9e0c2fe65
commit
5a8f8adfd4
1 changed files with 10 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
require 'formula'
|
||||
|
||||
class P7zip < Formula
|
||||
url 'http://downloads.sourceforge.net/project/p7zip/p7zip/9.20.1/p7zip_9.20.1_src_all.tar.bz2'
|
||||
homepage 'http://p7zip.sourceforge.net/'
|
||||
url 'http://downloads.sourceforge.net/project/p7zip/p7zip/9.20.1/p7zip_9.20.1_src_all.tar.bz2'
|
||||
sha1 '1cd567e043ee054bf08244ce15f32cb3258306b7'
|
||||
|
||||
option '32-bit'
|
||||
|
@ -14,7 +14,14 @@ class P7zip < Formula
|
|||
mv 'makefile.macosx_64bits', 'makefile.machine'
|
||||
end
|
||||
|
||||
system "make", "all3", "CC=#{ENV.cc} $(ALLFLAGS)", "CXX=#{ENV.cxx} $(ALLFLAGS)"
|
||||
system "make", "DEST_HOME=#{prefix}", "DEST_MAN=#{man}", "install"
|
||||
system "make", "all3",
|
||||
"CC=#{ENV.cc} $(ALLFLAGS)",
|
||||
"CXX=#{ENV.cxx} $(ALLFLAGS)"
|
||||
system "make", "DEST_HOME=#{prefix}",
|
||||
"DEST_MAN=#{man}",
|
||||
"install"
|
||||
|
||||
# install.sh chmods to 444, which is bullshit and breaks uninstalling
|
||||
system "chmod -R +w #{doc}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue