summaryrefslogtreecommitdiff
path: root/sqlite3/Pkgfile
blob: 8ebd0afa0d40f7d86ebd2a674f0704145304a928 (plain)
    1 # Description: SQL database engine
    2 # URL:         http://www.sqlite.org/
    3 # Maintainer:  Juergen Daubert, jue at crux dot nu
    4 # Depends on:  ncurses, readline
    5 
    6 name=sqlite3
    7 version=3.21.0
    8 release=1
    9 _version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
   10 
   11 source=(http://www.sqlite.org/2017/sqlite-autoconf-${_version}.tar.gz)
   12 
   13 build () {
   14     cd sqlite-autoconf-${_version}
   15     
   16     CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
   17             -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
   18             -DSQLITE_ENABLE_FTS3=1  $CFLAGS" \
   19     ./configure --prefix=/usr --enable-readline
   20     
   21     make 
   22     make DESTDIR=$PKG install
   23 }

Generated by cgit