blob: dc22054fb0561f2b30a4a26fd62183c0d9b35aba (
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
30
31
32
33
34
35
36
37
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=serf
pkgver=1.3.9
pkgrel=2
pkgdesc="High-Performance Asynchronous HTTP Client Library"
url="http://serf.apache.org/"
arch="all"
license="ASL 2.0"
depends=""
depends_dev=""
makedepends="$depends_dev apr-util-dev apr-dev libressl-dev zlib-dev scons
chrpath"
install=""
subpackages="$pkgname-dev"
source="https://archive.apache.org/dist/serf/serf-$pkgver.tar.bz2
libressl.patch
"
builddir="$srcdir"/serf-$pkgver
build() {
cd "$builddir"
scons PREFIX=/usr || return 1
}
package() {
cd "$builddir"
install -d "${pkgdir}/usr"
scons PREFIX="${pkgdir}/usr" install || return 1
chrpath -d "$pkgdir"/usr/lib/libserf-1.so*
}
md5sums="370a6340ff20366ab088012cd13f2b57 serf-1.3.9.tar.bz2
e8f86d99e68ade1500cf2ce564818485 libressl.patch"
sha256sums="549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc serf-1.3.9.tar.bz2
36539895e27757e5a5bf3a3f343c34de9c970fa07c82890b83178fdadbc06fd2 libressl.patch"
sha512sums="9f5418d991840a08d293d1ecba70cd9534a207696d002f22dbe62354e7b005955112a0d144a76c89c7f7ad3b4c882e54974441fafa0c09c4aa25c49c021ca75d serf-1.3.9.tar.bz2
f3e293124fbad9f7cd75f578e88259fd5a706eb56259d19be711c6e7527913c19146854042c4a7f6c14f828d2c14f8b42d2c71ae736d475df388bba8e0bd4df4 libressl.patch"
|