30 lines
776 B
Bash
30 lines
776 B
Bash
# Template file for 'mxml'
|
|
pkgname=mxml
|
|
version=2.11
|
|
revision=1
|
|
create_wrksrc=yes
|
|
build_style=gnu-configure
|
|
make_build_args="libmxml.a all"
|
|
configure_args="--enable-static --enable-shared"
|
|
short_desc="Minimal XML library"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="GPL-2"
|
|
homepage="http://www.minixml.org/"
|
|
distfiles="https://github.com/michaelrsweet/mxml/releases/download/v${version}/mxml-${version}.tar.gz"
|
|
checksum=aaf68aac637dd06ba73ae5bb0537a3c4e89ca86f8c09a2d806a1f5b937e2ba8f
|
|
|
|
do_install() {
|
|
make DSTROOT="${DESTDIR}" install
|
|
}
|
|
|
|
mxml-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/*.a
|
|
}
|
|
}
|