mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-21 01:56:37 +02:00
51 lines
1.1 KiB
Text
51 lines
1.1 KiB
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=neon
|
|
pkgver=0.33.0
|
|
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
|
|
gzip
|
|
openssl-dev>3
|
|
xmlto
|
|
zlib-dev
|
|
"
|
|
checkdepends="openssl>3"
|
|
depends="ca-certificates"
|
|
depends_dev="$makedepends"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://notroj.github.io/neon/neon-$pkgver.tar.gz"
|
|
# /usr/bin/openssl invocation fails in testsuite, not sure why
|
|
options="!check"
|
|
|
|
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="
|
|
b214ed34cd832dfaf3af08d4bdbe459c3e791f691548a6d44ee0cdc9811856185522bcbd6c2aca9a536fc021a2ed6329bd093cb3435cc40e3cfd9f5af8b92644 neon-0.33.0.tar.gz
|
|
"
|