2011-11-17 16:13:50 +01:00
|
|
|
# Template file for 'libyaml'
|
|
|
|
pkgname=libyaml
|
|
|
|
version=0.1.4
|
2014-02-21 11:44:41 +01:00
|
|
|
revision=3
|
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"
|
2013-04-13 10:15:49 +02:00
|
|
|
homepage="http://pyyaml.org/wiki/LibYAML"
|
|
|
|
distfiles="http://pyyaml.org/download/libyaml/yaml-${version}.tar.gz"
|
2011-11-17 16:13:50 +01:00
|
|
|
checksum=7bf81554ae5ab2d9b6977da398ea789722e0db75b86bffdaeb4e66d961de6a37
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libyaml-devel_package() {
|
2014-02-21 11:44:41 +01:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
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"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|