aboutsummaryrefslogtreecommitdiffstats
path: root/main/serf/APKBUILD
blob: 17a25afddafee107cc2d0c6f574511d71499accf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=serf
pkgver=1.3.10
pkgrel=0
pkgdesc="High-Performance Asynchronous HTTP Client Library"
url="https://serf.apache.org/"
arch="all"
license="Apache-2.0"
makedepends="apr-util-dev apr-dev openssl-dev>3 zlib-dev scons chrpath"
subpackages="$pkgname-dev"
source="https://archive.apache.org/dist/serf/serf-$pkgver.tar.bz2"

build() {
	scons CFLAGS="$CFLAGS" LINKFLAGS="$LDFLAGS" PREFIX=/usr
}

package() {
	scons install --install-sandbox="$pkgdir"
	chrpath -d "$pkgdir"/usr/lib/libserf-1.so*
}

sha512sums="
19165274d35c694935cda33f99ef92a7663a5d9c540fb7fd6792aa0efe39941b2fa87ff8b61afd060c6676baec634fd33dc2e9d34ecbee45ed99dfaed077802c  serf-1.3.10.tar.bz2
"