2012-12-20 14:00:29 +01:00
|
|
|
# Template file for 'sdb'
|
|
|
|
pkgname=sdb
|
2013-05-10 10:44:18 +02:00
|
|
|
version=0.6.2
|
2012-12-20 14:00:29 +01:00
|
|
|
revision=1
|
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"
|
|
|
|
long_desc="
|
|
|
|
sdb is a simple key/value database with disk storage. mcsdbd is a memcache
|
|
|
|
server with disk storage based on sdb. sdbtypes is a vala library that
|
|
|
|
implements several data structures on top of an sdb or memcache instance."
|
|
|
|
|
2013-05-10 10:50:18 +02:00
|
|
|
nofetch=yes
|
|
|
|
noextract=yes
|
2013-05-10 10:44:18 +02:00
|
|
|
build_style=gnu-makefile
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libglib-devel vala-devel"
|
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-04-14 12:31:59 +02:00
|
|
|
sdb-devel_package() {
|
2013-05-10 10:44:18 +02:00
|
|
|
depends="sdb>=${version}"
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sdb_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|