summaryrefslogblamecommitdiff
path: root/user/neon/APKBUILD
blob: 8dda94d31bad262ad9f7d32bfaf96b01eb46024d (plain) (tree)
1
2
3
4
5
6
7
8
9
              

             
        
                                                           
       

                  
                         

                                            





























                                                                                                                                                                 
# Maintainer: 
pkgname=neon
pkgver=0.30.2
pkgrel=3
pkgdesc="HTTP and WebDAV client library with a C interface"
url=" "
arch="all"
license="GPL LGPL"
depends="ca-certificates"
depends_dev="expat-dev openssl-dev zlib-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver.tar.gz"

build () {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-ssl \
		--with-expat \
		--without-gssapi \
		--disable-nls \
		--enable-shared \
		--disable-static \
		--enable-threadsafe-ssl=posix \
		--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="634caf87522e0bd2695c6fba39cae2465e403f9fbd8007eb10e4e035c765d24cb8da932c67bfa35c34aa51b90c7bc7037ebebaa1ec43259366d5d07233efc631  neon-0.30.2.tar.gz"