41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# Template file for 'neon'
|
|
pkgname=neon
|
|
version=0.32.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=7a25ba2c9223676b9aaec22a585a0ca118127bad71deed0b9ed6cd960fe5c353
|
|
|
|
post_patch() {
|
|
vsed -i autogen.sh -e 's/which/command -v/'
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|