void-packages/srcpkgs/sord/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

30 lines
787 B
Bash

# Template file for 'sord'
pkgname=sord
version=0.12.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@gmail.com>"
license="ISC"
homepage="http://drobilla.net/software/sord/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=bd0538d37de5e782023a7261d8ee9d83a792a12eeea7d94dec7a93dd9cda0767
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.*"
}
}