Update sqlite to 3.18.0

Disable static library
parent eaea7cdb
require 'package' # include package class file require 'package'
class Sqlite < Package # name the package and make it a Package class instance class Sqlite < Package
version '3.10' # software version version '3.18.0'
source_url 'http://www.sqlite.org/2016/sqlite-autoconf-3100000.tar.gz' # software source tarball url source_url 'https://www.sqlite.org/2017/sqlite-autoconf-3180000.tar.gz'
source_sha1 '7be6e6869d0d2d9fe3df71b5c65f065dd2325f58' # source tarball sha1 sum source_sha1 '74559194e1dd9b9d577cac001c0e9d370856671b'
def self.build # self.build contains commands needed to build the software from source def self.build
system "./configure" system "./configure", "--disable-static", "--enable-shared", "--with-pic"
system "make" # ordered chronologically system "make"
end end
def self.install # self.install contains commands needed to install the software on the target system def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end # during installation end
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