36 lines
885 B
Bash
36 lines
885 B
Bash
# Template file for 'expat'
|
|
pkgname=expat
|
|
version=2.6.2
|
|
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/"
|
|
changelog="https://raw.githubusercontent.com/libexpat/libexpat/master/expat/Changes"
|
|
distfiles="https://github.com/libexpat/libexpat/releases/download/R_${version//./_}/expat-${version}.tar.xz"
|
|
checksum=ee14b4c5d8908b1bec37ad937607eab183d4d9806a08adee472c3c3121d27364
|
|
|
|
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
|
|
}
|
|
}
|