void-packages/srcpkgs/expat/template
2020-10-04 16:22:43 +02:00

33 lines
740 B
Bash

# Template file for 'expat'
pkgname=expat
version=2.2.10
revision=1
build_style=gnu-configure
short_desc="XML parser library written in C"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="http://expat.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/expat/${pkgname}-${version}.tar.bz2"
checksum=b2c160f1b60e92da69de8e12333096aeb0c3bf692d41c60794de278af72135a5
post_install() {
vlicense COPYING
}
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
}
}