void-packages/srcpkgs/libyaml/template
2014-11-30 19:47:59 +00:00

28 lines
733 B
Text

# Template file for 'libyaml'
pkgname=libyaml
version=0.1.6
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"
update_pkgname=yaml
distfiles="http://pyyaml.org/download/libyaml/yaml-${version}.tar.gz"
checksum=7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749
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"
}
}