mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
p7zip: now install all executables and manpages
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
1 parent
7a7a1ef067
commit
2bfcc071ac
1 file changed
+4
-9
@@ -1,5 +1,7 @@
|
||||
require 'formula'
|
||||
|
||||
def build_32bit?; ARGV.include? '--32-bit' or Hardware.is_32_bit?; end
|
||||
|
||||
class P7zip <Formula
|
||||
url 'http://downloads.sourceforge.net/project/p7zip/p7zip/9.13/p7zip_9.13_src_all.tar.bz2'
|
||||
homepage 'http://p7zip.sourceforge.net/'
|
||||
@@ -9,10 +11,6 @@ class P7zip <Formula
|
||||
[["--32-bit", "Force 32-bit."]]
|
||||
end
|
||||
|
||||
def build_32bit?
|
||||
ARGV.include? '--32-bit' or Hardware.is_32_bit?
|
||||
end
|
||||
|
||||
def install
|
||||
if build_32bit?
|
||||
mv 'makefile.macosx_32bits', 'makefile.machine'
|
||||
@@ -20,10 +18,7 @@ class P7zip <Formula
|
||||
mv 'makefile.macosx_64bits', 'makefile.machine'
|
||||
end
|
||||
|
||||
mv 'DOCS/copying.txt', 'COPYING'
|
||||
system "make"
|
||||
# we do our own install because theirs sucks
|
||||
bin.install 'bin/7za'
|
||||
man.install 'man1'
|
||||
system "make all3"
|
||||
system "make", "DEST_HOME=#{prefix}", "DEST_MAN=#{man}", "install"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user