From 14bcc8fc73877de5beae7030c443ccc6134742a4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 11 May 2013 10:34:04 +0200 Subject: [PATCH] sdb: create shlib symlinks. --- srcpkgs/sdb/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/sdb/template b/srcpkgs/sdb/template index a64f9389c8..09a3afecc2 100644 --- a/srcpkgs/sdb/template +++ b/srcpkgs/sdb/template @@ -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 " 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"