void-packages/srcpkgs/raptor/template
2014-02-17 16:28:45 +01:00

33 lines
913 B
Text

# Template file for 'raptor'
pkgname=raptor
version=2.0.9
revision=4
wrksrc="raptor2-${version}"
build_style=gnu-configure
configure_args="--disable-static --with-yajl=no"
hostmakedepends="pkg-config"
makedepends="libcurl-devel libxml2-devel libxslt-devel"
short_desc="Raptor RDF Syntax Library"
maintainer="davehome <davehome@redthumb.info.tm>"
license="LGPL-2.1"
homepage="http://librdf.org/raptor"
distfiles="http://librdf.org/dist/source/raptor2-${version}.tar.gz"
checksum=e26fb9c18e6ebf71100f434070d50196a21d592b715e361850c3b4e789b5f6ef
libraptor_package() {
short_desc+=" - Runtime libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
raptor-devel_package() {
depends="libxml2-devel zlib-devel libcurl-devel libraptor>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib
vmove usr/share/gtk-doc
vmove usr/share/man/man3
}
}