2012-11-21 11:12:43 -06:00
|
|
|
# Description: SQL database engine
|
|
|
|
# URL: http://www.sqlite.org/
|
2013-02-02 01:54:23 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2012-11-21 11:12:43 -06:00
|
|
|
# Depends on: ncurses-32 readline-32 sqlite3
|
|
|
|
|
|
|
|
name=sqlite3-32
|
2016-01-11 16:22:40 +11:00
|
|
|
version=3.10.0
|
2015-10-21 12:49:23 +11:00
|
|
|
release=1
|
2012-11-21 11:12:43 -06:00
|
|
|
_version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
|
|
|
|
|
2015-01-26 22:34:14 -06:00
|
|
|
source=(http://www.sqlite.org/2015/sqlite-autoconf-${_version}.tar.gz)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
2015-07-31 21:48:09 +10:00
|
|
|
build() {
|
2012-11-21 11:12:43 -06:00
|
|
|
cd sqlite-autoconf-${_version}
|
2015-09-21 20:59:35 +10:00
|
|
|
|
2013-03-20 02:35:42 +11:00
|
|
|
CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
2015-09-21 20:59:35 +10:00
|
|
|
-DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
|
|
|
$CFLAGS" \
|
2012-11-21 11:12:43 -06:00
|
|
|
./configure --prefix=/usr --mandir=/usr/man --libdir=/usr/lib32
|
2015-09-21 20:59:35 +10:00
|
|
|
|
2015-05-21 09:51:58 -05:00
|
|
|
make -j1
|
2012-11-21 11:12:43 -06:00
|
|
|
make DESTDIR=$PKG install
|
2015-09-21 20:59:35 +10:00
|
|
|
|
2013-03-20 02:35:42 +11:00
|
|
|
rm -r $PKG/usr/{bin,include,man}
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|