30 lines
789 B
Bash
30 lines
789 B
Bash
# Template file for 'libnxml'
|
|
pkgname=libnxml
|
|
version=0.18.3
|
|
revision=3
|
|
build_style=gnu-configure
|
|
makedepends="libcurl-devel"
|
|
hostmakedepends="automake libtool"
|
|
short_desc="A C library for parsing, writing and creating XML"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://www.autistici.org/bakunin/libnxml/doc/"
|
|
distfiles="https://github.com/bakulf/libnxml/archive/${version}.tar.gz"
|
|
checksum=30d733bade81273fa8e66c40271f629a548da83fcd6037ff0105a4f2a4e6fd75
|
|
|
|
pre_configure() {
|
|
touch NEWS
|
|
autoreconf -fi
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|