2012-12-20 14:00:29 +01:00
|
|
|
# Template file for 'sdb'
|
|
|
|
pkgname=sdb
|
2014-02-17 10:15:54 +01:00
|
|
|
version=0.7.1
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-makefile
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libglib-devel vala-devel"
|
2012-12-21 11:25:20 +01:00
|
|
|
short_desc="Simple key-value database with JSON support"
|
|
|
|
maintainer="pancake <pancake@nopcode.org>"
|
|
|
|
license="LGPL-3"
|
2012-12-20 14:00:29 +01:00
|
|
|
homepage="https://github.com/radare/sdb"
|
2013-04-14 12:31:59 +02:00
|
|
|
|
2013-05-10 10:50:18 +02:00
|
|
|
do_fetch() {
|
|
|
|
git clone -b ${version} git://github.com/radare/sdb.git sdb-${version}
|
|
|
|
}
|
|
|
|
|
2013-05-11 10:34:04 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2013-04-14 12:31:59 +02:00
|
|
|
sdb-devel_package() {
|
2014-02-17 10:15:54 +01:00
|
|
|
depends="sdb>=${version}_${revision}"
|
2013-05-10 10:44:18 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 12:31:59 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-17 10:15:54 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 12:31:59 +02:00
|
|
|
}
|
|
|
|
}
|