summaryrefslogtreecommitdiff
path: root/sqlite3/Pkgfile
blob: 02b6057bb744d07f4d58f8edc829874d09b5ddda (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.17.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     CONFIG_SHELL=/bin/bash \
   17     CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
   18             -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
   19             -DSQLITE_ENABLE_FTS3=1  $CFLAGS" \
   20     ./configure --prefix=/usr --enable-readline
   21     
   22     make 
   23     make DESTDIR=$PKG install
   24 }

Generated by cgit