void-packages/srcpkgs/sdb/template

34 lines
827 B
Text
Raw Normal View History

# Template file for 'sdb'
pkgname=sdb
2014-02-17 09:15:54 +00:00
version=0.7.1
2014-06-08 09:40:00 +00:00
revision=2
2014-02-17 09:15:54 +00:00
build_style=gnu-makefile
hostmakedepends="pkg-config git"
2014-02-17 09:15:54 +00:00
makedepends="libglib-devel vala-devel"
short_desc="Simple key-value database with JSON support"
2014-06-08 09:40:00 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-3"
homepage="https://github.com/radare/sdb"
2013-05-10 08:50:18 +00:00
do_fetch() {
git clone -b ${version} git://github.com/radare/sdb.git sdb-${version}
}
2013-05-11 08:34:04 +00: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
}
sdb-devel_package() {
2014-02-17 09:15:54 +00:00
depends="sdb>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2014-02-17 09:15:54 +00:00
vmove "usr/lib/*.so"
}
}