2008-10-08 21:54:44 +00:00
|
|
|
# Template build file for 'sqlite'.
|
|
|
|
pkgname=sqlite
|
2013-09-13 07:23:28 +00:00
|
|
|
version=3.8.0.2
|
2013-08-30 09:58:58 +00:00
|
|
|
revision=1
|
2013-09-13 07:23:28 +00:00
|
|
|
_amalgamationver=3080002
|
2013-08-26 15:21:10 +00:00
|
|
|
wrksrc="sqlite-autoconf-${_amalgamationver}"
|
|
|
|
build_style=gnu-configure
|
2013-05-22 09:04:41 +00:00
|
|
|
makedepends="readline-devel"
|
2008-10-08 21:54:44 +00:00
|
|
|
short_desc="SQL Database Engine in a C Library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-11 08:01:41 +00:00
|
|
|
homepage="http://www.sqlite.org"
|
|
|
|
license="Public Domain"
|
2013-03-19 16:54:50 +00:00
|
|
|
distfiles="http://www.sqlite.org/2013/sqlite-autoconf-${_amalgamationver}.tar.gz"
|
2013-09-13 07:23:28 +00:00
|
|
|
checksum=fca3a0a12f94dc92a6d9e700c3f6cab6cd4e79214bd7b6f13717a10f4bcfddb2
|
2009-04-18 23:47:35 +00:00
|
|
|
|
2012-03-21 21:53:43 +00:00
|
|
|
do_configure() {
|
2013-04-27 08:25:13 +00:00
|
|
|
export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 \
|
2011-04-08 16:09:30 +00:00
|
|
|
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
|
|
|
-DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE"
|
2013-02-07 01:29:40 +00:00
|
|
|
|
2013-05-26 08:41:55 +00:00
|
|
|
./configure ${configure_args} --enable-threadsafe \
|
2013-02-07 01:29:40 +00:00
|
|
|
--enable-readline --enable-dynamic-extensions
|
2011-11-02 20:42:31 +00:00
|
|
|
}
|
|
|
|
|
2013-04-11 09:03:43 +00:00
|
|
|
sqlite-devel_package() {
|
2013-08-26 15:21:10 +00:00
|
|
|
depends="sqlite-${version}_${revision}"
|
2013-05-20 18:45:02 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-11 09:03:43 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-26 15:21:10 +00:00
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
2013-04-11 09:03:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sqlite_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|