aboutsummaryrefslogtreecommitdiffstats
path: root/main/serf/APKBUILD
blob: 1dfd80d24134f3f24a0ad382c63523e3c770c8f3 (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
25
26
27
28
29
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=serf
pkgver=1.3.9
pkgrel=3
pkgdesc="High-Performance Asynchronous HTTP Client Library"
url="http://serf.apache.org/"
arch="all"
license="Apache-2.0"
makedepends="apr-util-dev apr-dev libressl-dev zlib-dev scons chrpath python2"
subpackages="$pkgname-dev"
source="https://archive.apache.org/dist/$pkgname/$pkgname-$pkgver.tar.bz2
	libressl.patch
	"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	scons PREFIX=/usr
}

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

sha512sums="9f5418d991840a08d293d1ecba70cd9534a207696d002f22dbe62354e7b005955112a0d144a76c89c7f7ad3b4c882e54974441fafa0c09c4aa25c49c021ca75d  serf-1.3.9.tar.bz2
f3e293124fbad9f7cd75f578e88259fd5a706eb56259d19be711c6e7527913c19146854042c4a7f6c14f828d2c14f8b42d2c71ae736d475df388bba8e0bd4df4  libressl.patch"