void-packages/srcpkgs/serd/template
2016-09-20 06:39:01 +02:00

34 lines
754 B
Bash

# Template file for 'serd'
pkgname=serd
version=0.24.0
revision=1
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=8cfb8ade8d9a6f784da6e00ac05a28b7de440df5d2513796cd34aaa2754f6a6c
post_install() {
vlicense COPYING
}
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.*"
}
}