Change sqlite.rb to strip binary and libraries

parent 68de9562
require 'package'
class Sqlite < Package
version '3.18.0'
version '3.18.0-1'
source_url 'https://www.sqlite.org/2017/sqlite-autoconf-3180000.tar.gz'
source_sha1 '74559194e1dd9b9d577cac001c0e9d370856671b'
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
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