sqlite: add proper version to the pkgconfig file.

This commit is contained in:
Juan RP 2013-08-27 07:25:45 +02:00
parent 6439c4ee1f
commit a883a75d7e

View file

@ -1,7 +1,7 @@
# Template build file for 'sqlite'.
pkgname=sqlite
version=3.8.0
revision=2
revision=3
_amalgamationver=3080000
wrksrc="sqlite-autoconf-${_amalgamationver}"
build_style=gnu-configure
@ -22,6 +22,11 @@ do_configure() {
--enable-readline --enable-dynamic-extensions
}
post_install() {
# fix version in pkgconfig file!
sed -e "s,@RELEASE@,${version},g" -i ${DESTDIR}/usr/lib/pkgconfig/sqlite3.pc
}
sqlite-devel_package() {
depends="sqlite-${version}_${revision}"
short_desc+=" - development files"