void-packages/srcpkgs/sdb/template

34 lines
918 B
Text

# Template file for 'sdb'
pkgname=sdb
version=0.5
revision=1
build_style=gnu-makefile
short_desc="Simple key-value database with JSON support"
maintainer="pancake <pancake@nopcode.org>"
license="LGPL-3"
homepage="https://github.com/radare/sdb"
distfiles="https://github.com/radare/sdb/archive/$pkgname-$version.tar.gz"
checksum=ed3225e4a6c88cc3c31c80dff6faa74c2a861aa0db1dce37db0e97a6fec595fa
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."
makedepends="vala-devel"
sdb-devel_package() {
depends="vala sdb>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}
sdb_package() {
pkg_install() {
vmove usr
}
}