2012-12-20 13:00:29 +00:00
|
|
|
# Template file for 'sdb'
|
|
|
|
pkgname=sdb
|
2015-01-20 10:43:27 +00:00
|
|
|
version=0.9.4
|
2014-11-11 10:51:03 +00:00
|
|
|
revision=1
|
2014-02-17 09:15:54 +00:00
|
|
|
build_style=gnu-makefile
|
2014-07-27 14:05:16 +00:00
|
|
|
hostmakedepends="pkg-config git"
|
2014-02-17 09:15:54 +00:00
|
|
|
makedepends="libglib-devel vala-devel"
|
2012-12-21 10:25:20 +00:00
|
|
|
short_desc="Simple key-value database with JSON support"
|
2014-06-08 09:40:00 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-12-21 10:25:20 +00:00
|
|
|
license="LGPL-3"
|
2012-12-20 13:00:29 +00:00
|
|
|
homepage="https://github.com/radare/sdb"
|
2015-01-20 10:43:27 +00:00
|
|
|
distfiles="https://github.com/radare/sdb/archive/${version}.tar.gz"
|
|
|
|
checksum=e40dfcd4859fa0c662687a25284d34ada88e066181c4462077def65a59506b0c
|
2013-05-10 08:50:18 +00:00
|
|
|
|
2013-05-11 08:34:04 +00:00
|
|
|
post_install() {
|
2014-11-11 10:51:03 +00:00
|
|
|
# create soname symlink
|
|
|
|
ln -s libsdb.so.${version} ${DESTDIR}/usr/lib/libsdb.so.0
|
2013-05-11 08:34:04 +00:00
|
|
|
}
|
|
|
|
|
2013-04-14 10:31:59 +00:00
|
|
|
sdb-devel_package() {
|
2014-02-17 09:15:54 +00:00
|
|
|
depends="sdb>=${version}_${revision}"
|
2013-05-10 08:44:18 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 10:31:59 +00:00
|
|
|
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"
|
2013-04-14 10:31:59 +00:00
|
|
|
}
|
|
|
|
}
|