void-packages/srcpkgs/libyaml/template
2019-03-14 01:24:44 -03:00

31 lines
734 B
Bash

# Template file for 'libyaml'
pkgname=libyaml
version=0.2.2
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Fast YAML 1.1 parser and emitter library"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://pyyaml.org/wiki/LibYAML"
distfiles="https://github.com/yaml/libyaml/archive/${version}.tar.gz"
checksum=46bca77dc8be954686cff21888d6ce10ca4016b360ae1f56962e6882a17aa1fe
pre_configure() {
autoreconf -fi
}
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"
}
}