void-packages/srcpkgs/mxml/template
Enno Boland f40cd77686 srcpkgs: remove pullmoll from maintainers field. 😢
Set them to Orphaned for now.

If you'd like to pick up a package, feel free.
2021-04-10 16:34:44 +02:00

28 lines
754 B
Bash

# Template file for 'mxml'
pkgname=mxml
version=3.2
revision=1
build_style=gnu-configure
make_build_args="libmxml.a all"
configure_args="--enable-static --enable-shared"
short_desc="Minimal XML library"
maintainer="Orphaned <orphan@voidlinux.org>"
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=b894f6c64964f2e77902564c17ba00f5d077a7a24054e7c1937903b0bd42c974
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
}
}