void-packages/srcpkgs/expat/template

31 lines
694 B
Bash
Raw Normal View History

# Template file for 'expat'
pkgname=expat
2012-03-28 14:19:19 +02:00
version=2.1.0
revision=4
build_style=gnu-configure
short_desc="XML parser library written in C"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-03-28 14:19:19 +02:00
license="MIT"
homepage="http://expat.sourceforge.net/"
distfiles="$SOURCEFORGE_SITE/expat/$pkgname-$version.tar.gz"
2012-03-28 14:19:19 +02:00
checksum=823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
expat-devel_package() {
depends="expat>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}
xmlwf_package() {
short_desc+=" - xmlwf utility"
pkg_install() {
vmove usr/bin
vmove usr/share
}
}