void-packages/srcpkgs/mxml/template
Jürgen Buchmüller 289ecbf763
mxml: update to 2.12
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-10-03 16:40:05 +02:00

29 lines
784 B
Bash

# Template file for 'mxml'
pkgname=mxml
version=2.12
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="LGPL-2.0-only"
homepage="http://www.minixml.org/"
distfiles="https://github.com/michaelrsweet/mxml/releases/download/v${version}/mxml-${version}.tar.gz"
checksum=afd6b75a120dc422c7b45dca19254f535d51c37b73f6783962b1e14b54c716fd
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
}
}