void-packages/srcpkgs/sord/template
2018-07-23 22:58:40 -03:00

34 lines
814 B
Bash

# Template file for 'sord'
pkgname=sord
version=0.16.2
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="Juan RP <xtraeme@voidlinux.eu>"
license="ISC"
homepage="http://drobilla.net/software/sord/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=09f51174dd8f3efbd95f44f0bb0b165f08e066e052d40095de59de787987da8d
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.*"
}
}