void-packages/srcpkgs/libnxml/template

23 lines
696 B
Bash

# Template file for 'libnxml'
pkgname=libnxml
version=0.18.3
revision=2
build_style=gnu-configure
short_desc="A C library for parsing, writing and creating XML"
maintainer="Enno Boland <eb@s01.de>"
license="LGPL-2"
homepage="http://www.autistici.org/bakunin/libnxml/doc/"
makedepends="libcurl-devel"
distfiles="http://www.autistici.org/bakunin/$pkgname/${pkgname}-${version}.tar.gz"
checksum="0f9460e3ba16b347001caf6843f0050f5482e36ebcb307f709259fd6575aa547"
libnxml-devel_package() {
depends="${sourcepkg}>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}