Change xzutils.rb to strip binary and library

parent 7c421258
require 'package' require 'package'
class Xzutils < Package class Xzutils < Package
version '5.2.3-1' version '5.2.3-2'
source_url 'http://tukaani.org/xz/xz-5.2.3.tar.gz' source_url 'http://tukaani.org/xz/xz-5.2.3.tar.gz'
source_sha1 '529638eec3597e429cc54c74551ac0a89169e841' source_sha1 '529638eec3597e429cc54c74551ac0a89169e841'
...@@ -11,7 +11,10 @@ class Xzutils < Package ...@@ -11,7 +11,10 @@ class Xzutils < Package
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
# strip debug symbol from library
system "strip -S #{CREW_DEST_DIR}/usr/local/lib/liblzma.so.*"
end end
def self.check def self.check
......
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