void-packages/srcpkgs/libyaml/template

28 lines
713 B
Plaintext
Raw Normal View History

2011-11-17 16:13:50 +01:00
# Template file for 'libyaml'
pkgname=libyaml
2014-03-30 13:15:04 +02:00
version=0.1.6
2014-03-18 16:01:14 +01:00
revision=1
2011-11-17 16:13:50 +01:00
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"
2014-03-30 13:15:04 +02:00
checksum=7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749
2011-11-17 16:13:50 +01:00
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
libyaml-devel_package() {
2014-02-21 11:44:41 +01:00
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2014-02-21 11:44:41 +01:00
vmove "usr/lib/*.so"
}
}