26 lines
720 B
Plaintext
Raw Normal View History

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