# Template file for 'neon'
pkgname=neon
version=0.29.5
revision=1
distfiles="http://www.webdav.org/neon/neon-$version.tar.gz"
build_style=gnu_configure
configure_args="--with-expat --with-ssl=openssl --enable-shared
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
short_desc="HTTP and WebDAV client library, with a C interface"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=dea3c52b9f3f915651c6279c76758acf7c427727e8b9b0130f8b138f24012290
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."

subpackages="neon-devel"
Add_dependency run glibc
Add_dependency run zlib
Add_dependency run expat
Add_dependency run libssl
Add_dependency run mit-krb5-libs
Add_dependency run e2fsprogs-libs
Add_dependency run libproxy
Add_dependency run ca-certificates

Add_dependency build zlib-devel
Add_dependency build expat-devel
Add_dependency build openssl-devel
Add_dependency build mit-krb5-devel
Add_dependency build e2fsprogs-devel
Add_dependency build libproxy-devel
