summaryrefslogtreecommitdiffstats
path: root/extra/sqlite3/Pkgfile
blob: 395a12462068df08f0665a17a64aee6b6bbe4ebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Librairie C qui implémente un moteur de base de données SQL 
# URL: http://www.sqlite.org/
# Maintainer: NuTyX core
# Packager: thierryn1 at hispeed dot ch
# Depends on: tcl

name=sqlite3
version=3.7.2
release=2
source=(http://www.sqlite.org/sqlite-$version.tar.gz)

build() {
	export LTLINK_EXTRAS="-ldl"
	export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE"
	cd sqlite-$version
	./configure --prefix=/usr \
		--enable-threadsafe
	make
	make DESTDIR=$PKG install
	install -d $PKG/usr/share/man/man1
	install -m 644 sqlite3.1 $PKG/usr/share/man/man1
}