mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
19 lines
594 B
Ruby
19 lines
594 B
Ruby
require 'package'
|
|
|
|
class Sqlite < Package
|
|
description 'SQLite is a self-contained, high-reliability, embedded, full-featured, public-domain, SQL database engine.'
|
|
homepage 'http://www.sqlite.org/'
|
|
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", "--libdir=#{CREW_LIB_PREFIX}", "--disable-static", "--enable-shared", "--with-pic"
|
|
system "make"
|
|
end
|
|
|
|
def self.install
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
|
end
|
|
end
|