Change groff.rb to strip binaries

parent c07faf03
require 'package'
class Groff < Package
version '1.22.3'
version '1.22.3-1'
source_url 'http://ftp.gnu.org/gnu/groff/groff-1.22.3.tar.gz'
source_sha1 '61a6808ea1ef715df9fa8e9b424e1f6b9fa8c091'
def self.build
system './configure'
system 'INSTALL_PROGRAM=\'${INSTALL} -s\' ./configure'
# force to compile in sequential since groff Makefile doesn't work in parallel
system 'make', '-j1'
......@@ -15,4 +15,8 @@ class Groff < Package
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.check
system "make", "check"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment