d78cb0d201
some packages were dropped but their maintainer= was not updated in template. this will help new maintainers adopt these packages. -> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
31 lines
731 B
Bash
31 lines
731 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="Orphaned <orphan@voidlinux.org>"
|
|
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"
|
|
}
|
|
}
|