void-packages/srcpkgs/sord/template
2019-11-12 11:42:04 +01:00

34 lines
809 B
Bash

# Template file for 'sord'
pkgname=sord
version=0.16.4
revision=1
build_style=waf
hostmakedepends="pkg-config python"
makedepends="serd-devel pcre-devel"
short_desc="Lightweight C library for storing RDF data in memory"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="http://drobilla.net/software/sord/"
distfiles="http://download.drobilla.net/sord-${version}.tar.bz2"
checksum=b15998f4e7ad958201346009477d6696e90ee5d3e9aff25e7e9be074372690d7
post_install() {
vlicense COPYING
}
sord-devel_package() {
depends="serd-devel libsord>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libsord_package() {
short_desc+=" - Runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}