void-packages/srcpkgs/neon/template

37 lines
1.1 KiB
Bash

# Template file for 'neon'
pkgname=neon
version=0.31.2
revision=2
build_style=gnu-configure
configure_args="--with-expat --with-ssl=openssl --enable-shared
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --disable-static
--disable-nls"
make_build_args="all docs"
make_install_args="install"
hostmakedepends="automake libtool pkg-config xmlto"
makedepends="zlib-devel expat-devel openssl-devel libproxy-devel"
depends="ca-certificates"
short_desc="HTTP and WebDAV client library, with a C interface"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.0-or-later"
homepage="http://www.webdav.org/neon/"
distfiles="https://github.com/notroj/neon/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=c6513d20c0affca6f4b45e2414a86cce951709cf4448b6b64ccdf3579fda0ce5
pre_configure() {
./autogen.sh
}
neon-devel_package() {
depends="${makedepends} neon>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/doc
vmove usr/share/man
vmove "usr/lib/*.so"
}
}