summaryrefslogtreecommitdiffstats
path: root/base/sqlite3/Pkgfile
blob: 6ada22e375ded0a42ed075944d7103b474220d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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:

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

build() {
	cd sqlite-$version
	CFLAGS="-O2 -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY=1" \
	./configure --prefix=/usr \
		--enable-threadsafe \
		--enable-readline \
		--enable-dynamic-extensions
	make
	make DESTDIR=$PKG install
	install -d $PKG/usr/share/man/man1
	install -m 644 sqlite3.1 $PKG/usr/share/man/man1
}