Change libpipeline.rb to strip library

parent 3112fd7d
require 'package'
class Libpipeline < Package
version '1.4.1-1'
version '1.4.1-2'
source_url 'https://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.4.1.tar.gz'
source_sha1 'b31cc955f22b1aa4545dc8d00ddbde831936594f'
def self.build
system './configure', '--disable-static', '--enable-shared', '--with-pic'
system 'make'
system "find . -name 'lib*.so.*' -print | xargs strip -S"
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
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