void-packages/srcpkgs/serd/template

29 lines
716 B
Bash

# Template file for 'serd'
pkgname=serd
version=0.20.0
revision=4
build_style=waf
hostmakedepends="python"
short_desc="Lightweight C library for RDF syntax"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="ISC"
homepage="http://drobilla.net/software/serd/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=64515f4f5eb27ba2ba151027a72a77672f6ee8a2a3b58991ad5c045135feabbf
serd-devel_package() {
depends="libserd>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libserd_package() {
short_desc+=" - Runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}