void-packages/srcpkgs/libyaml/template
2016-08-29 08:17:52 +02:00

27 lines
682 B
Bash

# Template file for 'libyaml'
pkgname=libyaml
version=0.1.7
revision=1
wrksrc="yaml-${version}"
build_style=gnu-configure
short_desc="Fast YAML 1.1 parser and emitter library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://pyyaml.org/wiki/LibYAML"
distfiles="http://pyyaml.org/download/libyaml/yaml-${version}.tar.gz"
checksum=8088e457264a98ba451a90b8661fcb4f9d6f478f7265d48322a196cec2480729
post_install() {
vlicense LICENSE
}
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"
}
}