aboutsummaryrefslogblamecommitdiffstats
path: root/main/neon/APKBUILD
blob: 4bec2a4b132c0672e9c077a6be6032018ad99b96 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
             
        
                                                           
                                    
          
                           
                                                                
                                  
                      
                         
                          
                                       
                                                                                       

                                                              
 




                       
         



                                 

                              
                                  
                               

                                  
                                               
                                                                   
                         


         
                  


           
                                          
 
            
                                                                                                                                                    
 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=neon
pkgver=0.32.1
pkgrel=0
pkgdesc="HTTP and WebDAV client library with a C interface"
url="https://notroj.github.io/neon/"
arch="all"
license="LGPL-2.0-or-later"
makedepends="expat-dev openssl1.1-compat-dev zlib-dev gzip xmlto
	autoconf automake libtool"
checkdepends="openssl"
depends="ca-certificates"
depends_dev="$makedepends"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/notroj/neon/archive/$pkgver.tar.gz"
# /usr/bin/openssl invocation fails in testsuite, not sure why
options="!check"

prepare() {
	default_prepare
	./autogen.sh
}

build() {
	./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 && make docs
}

check() {
	make check
}

package() {
	make -j1 DESTDIR="$pkgdir" install
}
sha512sums="
7debfdfc73617b75b94a80cc592fcfc743b1ee7dddd05d0c13864a9d252e30f59d873e34cc821f93b0f68ef18704acb9f89e62e2eb559f976b7f88ea3ae1413c  neon-0.32.1.tar.gz
"