vp-build/srcpkgs/sdb/template
2014-11-11 11:51:03 +01:00

31 lines
779 B
Plaintext

# Template file for 'sdb'
pkgname=sdb
version=0.9.2
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="http://radare.org/get/sdb-${version}.tar.gz"
checksum=8cd08d78e292fcb6ce4ffa7419e600a7f2cc3482e0f39b164279d440ad29026d
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"
}
}