Change diffutils.rb to strip binary and add check method

This commit is contained in:
Kazushi (Jam) Marukawa
2017-05-12 19:01:21 +09:00
parent 8f54dab627
commit a053cbf4c5

View File

@@ -1,7 +1,7 @@
require 'package'
class Diffutils < Package
version '3.5'
version '3.5-1'
source_url 'ftp://ftp.gnu.org/gnu/diffutils/diffutils-3.5.tar.xz'
source_sha1 '1169cce8eaaf7290dc087d65db7ed75de0dceb93'
@@ -13,6 +13,10 @@ class Diffutils < Package
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
end
def self.check
system "make", "check"
end
end