void-packages/srcpkgs/sqlite/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

29 lines
916 B
Bash

# Template build file for 'sqlite'.
pkgname=sqlite
version=3.8.8.3
revision=2
_amalgamationver=3080803
wrksrc="sqlite-autoconf-${_amalgamationver}"
build_pie=yes
build_style=gnu-configure
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>"
homepage="http://www.sqlite.org"
license="Public Domain"
distfiles="http://www.sqlite.org/2015/sqlite-autoconf-${_amalgamationver}.tar.gz"
checksum=74576964cd9db44c13bf95d6a7c36b06cfdfb2fe4e3e26c9ce1ae0b2e328b411
CFLAGS="-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE"
sqlite-devel_package() {
depends="sqlite>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}