35 lines
800 B
Bash
35 lines
800 B
Bash
# Template file for 'expat'
|
|
pkgname=expat
|
|
version=2.5.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
short_desc="XML parser library written in C"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="MIT"
|
|
homepage="https://libexpat.github.io/"
|
|
distfiles="https://github.com/libexpat/libexpat/releases/download/R_${version//./_}/expat-${version}.tar.xz"
|
|
checksum=ef2420f0232c087801abf705e89ae65f6257df6b7931d37846a193ef2e8cdcbe
|
|
|
|
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/cmake
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
xmlwf_package() {
|
|
short_desc+=" - xmlwf utility"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/share
|
|
}
|
|
}
|