void-packages/srcpkgs/sqlite/template

29 lines
902 B
Plaintext
Raw Normal View History

# Template build file for 'sqlite'.
pkgname=sqlite
2014-02-13 18:38:24 +01:00
version=3.8.3.1
2013-08-30 11:58:58 +02:00
revision=1
2014-02-13 18:38:24 +01:00
_amalgamationver=3080301
2013-08-26 17:21:10 +02:00
wrksrc="sqlite-autoconf-${_amalgamationver}"
build_style=gnu-configure
2014-02-13 18:38:24 +01:00
configure_args="--enable-threadsafe --enable-readline --enable-dynamic-extensions"
makedepends="readline-devel"
short_desc="SQL Database Engine in a C Library"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-08-11 10:01:41 +02:00
homepage="http://www.sqlite.org"
license="Public Domain"
2014-02-04 13:37:04 +01:00
distfiles="http://www.sqlite.org/2014/sqlite-autoconf-${_amalgamationver}.tar.gz"
2014-02-13 18:38:24 +01:00
checksum=de5dc216e9289fabf027f78dbbface32ffc8c6341b7d841d0814b1a452ffdb8c
2014-02-13 18:38:24 +01:00
CFLAGS="-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE"
2011-11-02 21:42:31 +01:00
sqlite-devel_package() {
2013-10-18 18:26:49 +02:00
depends="sqlite>=${version}_${revision}"
2013-05-20 20:45:02 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-08-26 17:21:10 +02:00
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}