Commit 84e21090 authored by Natanael Copa's avatar Natanael Copa

testing/serf: new aport

High-Performance Asynchronous HTTP Client Library
http://code.google.com/p/serf
parent 9c207060
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=serf
pkgver=1.2.1
pkgrel=0
pkgdesc="High-Performance Asynchronous HTTP Client Library"
url="http://code.google.com/p/serf"
arch="all"
license="ASL 2.0"
depends=""
depends_dev=""
makedepends="$depends_dev apr-util-dev apr-dev openssl-dev zlib-dev"
install=""
subpackages="$pkgname-dev"
source="https://serf.googlecode.com/files/serf-$pkgver.tar.bz2"
_builddir="$srcdir"/serf-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="4f8e76c9c6567aee1d66aba49f76a58b serf-1.2.1.tar.bz2"
sha256sums="6988d394b62c3494635b6f0760bc3079f9a0cd380baf0f6b075af1eb9fa5e700 serf-1.2.1.tar.bz2"
sha512sums="370164d5ab6dc36169ca3eb6e0eae75e3b46dde4238a9726d300010b02ecff2cc01290ffd1cdc6da57fb9df05f719ca5f64e23a9f03881e092721e4102ca0521 serf-1.2.1.tar.bz2"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment