void-packages/srcpkgs/sqlite/template

30 lines
917 B
Bash
Raw Normal View History

# Template build file for 'sqlite'.
pkgname=sqlite
2015-04-09 05:11:53 +00:00
version=3.8.9
revision=1
_amalgamationver=3080900
2013-08-26 15:21:10 +00:00
wrksrc="sqlite-autoconf-${_amalgamationver}"
2015-03-18 10:47:40 +00:00
build_pie=yes
2013-08-26 15:21:10 +00:00
build_style=gnu-configure
2014-02-13 17:38:24 +00: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@voidlinux.eu>"
2011-08-11 08:01:41 +00:00
homepage="http://www.sqlite.org"
license="Public Domain"
2015-01-18 00:11:00 +00:00
distfiles="http://www.sqlite.org/2015/sqlite-autoconf-${_amalgamationver}.tar.gz"
2015-04-09 05:11:53 +00:00
checksum=76ebb6392cd2289fbff903af7ff67f3e49bd01ff30544b8028ecededd60269a2
2014-02-13 17:38:24 +00:00
CFLAGS="-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE"
2011-11-02 20:42:31 +00:00
sqlite-devel_package() {
2013-10-18 16:26:49 +00:00
depends="sqlite>=${version}_${revision}"
2013-05-20 18:45:02 +00:00
short_desc+=" - development files"
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"
}
}