void-packages/srcpkgs/libyaml/template
2014-03-18 16:01:14 +01:00

27 lines
713 B
Text

# Template file for 'libyaml'
pkgname=libyaml
version=0.1.5
revision=1
wrksrc="yaml-${version}"
build_style=gnu-configure
short_desc="Fast YAML 1.1 parser and emitter library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://pyyaml.org/wiki/LibYAML"
distfiles="http://pyyaml.org/download/libyaml/yaml-${version}.tar.gz"
checksum=fa87ee8fb7b936ec04457bc044cd561155e1000a4d25029867752e543c2d3bef
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
libyaml-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}