mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
sqlite: add proper version to the pkgconfig file.
This commit is contained in:
parent
6439c4ee1f
commit
a883a75d7e
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'sqlite'.
|
# Template build file for 'sqlite'.
|
||||||
pkgname=sqlite
|
pkgname=sqlite
|
||||||
version=3.8.0
|
version=3.8.0
|
||||||
revision=2
|
revision=3
|
||||||
_amalgamationver=3080000
|
_amalgamationver=3080000
|
||||||
wrksrc="sqlite-autoconf-${_amalgamationver}"
|
wrksrc="sqlite-autoconf-${_amalgamationver}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -22,6 +22,11 @@ do_configure() {
|
||||||
--enable-readline --enable-dynamic-extensions
|
--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() {
|
sqlite-devel_package() {
|
||||||
depends="sqlite-${version}_${revision}"
|
depends="sqlite-${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Add table
Reference in a new issue