void-packages/srcpkgs/sdb/template
2015-01-20 11:43:38 +01:00

30 lines
791 B
Text

# Template file for 'sdb'
pkgname=sdb
version=0.9.4
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config git"
makedepends="libglib-devel vala-devel"
short_desc="Simple key-value database with JSON support"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-3"
homepage="https://github.com/radare/sdb"
distfiles="https://github.com/radare/sdb/archive/${version}.tar.gz"
checksum=e40dfcd4859fa0c662687a25284d34ada88e066181c4462077def65a59506b0c
post_install() {
# create soname symlink
ln -s libsdb.so.${version} ${DESTDIR}/usr/lib/libsdb.so.0
}
sdb-devel_package() {
depends="sdb>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}