void-packages/srcpkgs/sdb/template

37 lines
956 B
Text
Raw Normal View History

# Template file for 'sdb'
pkgname=sdb
version=0.6.2
revision=1
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/${version}.tar.gz"
checksum=ba283a42af4e6ab679ee445bba62cf8620ca28315ca11678926a9229625be1f0
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."
create_srcdir=yes
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="libglib-devel vala-devel"
sdb-devel_package() {
depends="sdb>=${version}"
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
}
}