31 lines
731 B
Bash
31 lines
731 B
Bash
# Template file for 'libyaml'
|
|
pkgname=libyaml
|
|
version=0.2.4
|
|
revision=1
|
|
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=02265e0229675aea3a413164b43004045617174bdb2c92bf6782f618f8796b55
|
|
|
|
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"
|
|
}
|
|
}
|