sdb: create shlib symlinks.

This commit is contained in:
Juan RP 2013-05-11 10:34:04 +02:00
parent 73d87cd5b8
commit 14bcc8fc73

View file

@ -1,7 +1,7 @@
# Template file for 'sdb'
pkgname=sdb
version=0.6.4
revision=1
revision=2
short_desc="Simple key-value database with JSON support"
maintainer="pancake <pancake@nopcode.org>"
license="LGPL-3"
@ -21,6 +21,12 @@ do_fetch() {
git clone -b ${version} git://github.com/radare/sdb.git sdb-${version}
}
post_install() {
# Create shlib symlinks.
ln -sfr ${DESTDIR}/usr/lib/libsdb.so.0.0.0 ${DESTDIR}/usr/lib/libsdb.so
ln -sfr ${DESTDIR}/usr/lib/libsdb.so.0.0.0 ${DESTDIR}/usr/lib/libsdb.so.0
}
sdb-devel_package() {
depends="sdb>=${version}"
short_desc+=" - development files"