mxml: update to 2.11
This commit is contained in:
parent
79e3f3eb6e
commit
90259efce7
|
@ -1,26 +1,18 @@
|
||||||
# Template file for 'mxml'
|
# Template file for 'mxml'
|
||||||
pkgname=mxml
|
pkgname=mxml
|
||||||
version=2.10
|
version=2.11
|
||||||
revision=1
|
revision=1
|
||||||
|
create_wrksrc=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
make_build_args="libmxml.a all"
|
||||||
configure_args="--enable-static --enable-shared"
|
configure_args="--enable-static --enable-shared"
|
||||||
short_desc="Minimal XML library"
|
short_desc="Minimal XML library"
|
||||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://www.minixml.org/"
|
homepage="http://www.minixml.org/"
|
||||||
distfiles="https://github.com/michaelrsweet/mxml/releases/download/release-${version}/mxml-${version}.tar.gz"
|
distfiles="https://github.com/michaelrsweet/mxml/releases/download/v${version}/mxml-${version}.tar.gz"
|
||||||
checksum=267ff58b64ddc767170d71dab0c729c06f45e1df9a9b6f75180b564f09767891
|
checksum=aaf68aac637dd06ba73ae5bb0537a3c4e89ca86f8c09a2d806a1f5b937e2ba8f
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
# Disable testxml (fixes cross builds)
|
|
||||||
sed -i Makefile.in \
|
|
||||||
-e "s;testmxml mxml.xml;mxml.xml;"
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
# Disable generating mxml.xml
|
|
||||||
sed -i Makefile.in \
|
|
||||||
-e "/.*\.\/mxmldoc-static.*/d"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make DSTROOT="${DESTDIR}" install
|
make DSTROOT="${DESTDIR}" install
|
||||||
}
|
}
|
||||||
|
@ -31,7 +23,7 @@ mxml-devel_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove usr/lib/*.a
|
|
||||||
vmove usr/lib/*.so
|
vmove usr/lib/*.so
|
||||||
|
vmove usr/lib/*.a
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue