54 lines
1.9 KiB
Plaintext
54 lines
1.9 KiB
Plaintext
# Template file for 'neon'
|
|
pkgname=neon
|
|
version=0.30.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-expat --with-ssl=openssl --enable-shared
|
|
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --disable-static"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="expat-devel openssl-devel>=1.0.1 mit-krb5-devel libproxy-devel
|
|
ca-certificates"
|
|
short_desc="HTTP and WebDAV client library, with a C interface"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.webdav.org/neon/"
|
|
license="LGPL-2.1"
|
|
distfiles="http://www.webdav.org/neon/neon-$version.tar.gz"
|
|
checksum=2962cfcb5d30f3272e3d2fa0e473434419770a3801afe3d46e5d1650787990c2
|
|
long_desc="
|
|
Features:
|
|
|
|
* High-level wrappers for common HTTP and WebDAV operations
|
|
(GET, MOVE, DELETE, etc)
|
|
* Low-level interface to the HTTP request/response engine, allowing the use
|
|
of arbitrary HTTP methods, headers, etc.
|
|
* Authentication support including Basic and Digest support, along with
|
|
GSSAPI-based Negotiate on Unix, and SSPI-based Negotiate/NTLM on Win32
|
|
* SSL/TLS support using OpenSSL or GnuTLS; exposing an abstraction layer
|
|
for verifying server certificates, handling client certificates, and
|
|
examining certificate properties. Smartcard-based client certificates are
|
|
also supported via a PKCS#11 wrapper interface.
|
|
* Abstract interface to parsing XML using libxml2 or expat, and wrappers for
|
|
simplifying handling XML HTTP response bodies
|
|
* WebDAV metadata support; wrappers for PROPFIND and PROPPATCH to simplify
|
|
property manipulation."
|
|
|
|
neon-devel_package() {
|
|
depends="expat-devel openssl-devel 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"
|
|
}
|
|
}
|
|
|
|
neon_package() {
|
|
depends="ca-certificates"
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|