34 lines
738 B
Bash
34 lines
738 B
Bash
# Template file for 'expat'
|
|
pkgname=expat
|
|
version=2.2.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
short_desc="XML parser library written in C"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="http://expat.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/expat/${pkgname}-${version}.tar.bz2"
|
|
checksum=03ad85db965f8ab2d27328abcf0bc5571af6ec0a414874b2066ee3fdd372019e
|
|
|
|
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
|
|
}
|
|
}
|