summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-08-12 07:59:11 +0200
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2013-08-12 07:59:11 +0200
commit65c3ce3343c5ecbdf1f557161978c284fe82b348 (patch)
tree9d75a485e055a3c1ea55dbdd29e44cf707a76ac2
parenta9276e41a1e00baf61134ab52a5fa963193269e8 (diff)
downloadaports-65c3ce3343c5ecbdf1f557161978c284fe82b348.tar.bz2
aports-65c3ce3343c5ecbdf1f557161978c284fe82b348.tar.xz
main/serf: upgrade to 1.3.0
-rw-r--r--main/serf/APKBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/main/serf/APKBUILD b/main/serf/APKBUILD
index c6fb1454f..a7aefc3fd 100644
--- a/main/serf/APKBUILD
+++ b/main/serf/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=serf
-pkgver=1.2.1
+pkgver=1.3.0
pkgrel=0
pkgdesc="High-Performance Asynchronous HTTP Client Library"
url="http://code.google.com/p/serf"
@@ -8,7 +8,7 @@ arch="all"
license="ASL 2.0"
depends=""
depends_dev=""
-makedepends="$depends_dev apr-util-dev apr-dev openssl-dev zlib-dev"
+makedepends="$depends_dev apr-util-dev apr-dev openssl-dev zlib-dev scons"
install=""
subpackages="$pkgname-dev"
source="https://serf.googlecode.com/files/serf-$pkgver.tar.bz2"
@@ -26,24 +26,16 @@ prepare() {
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
+ scons PREFIX=/usr || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ install -d "${pkgdir}/usr"
+ scons PREFIX="${pkgdir}/usr" install
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"
+md5sums="bb0dbf9494495db7e8b34eac99b2dc3a serf-1.3.0.tar.bz2"
+sha256sums="174a46866907c54309c0ccac5efa34304e21979f365b30bdfea6c4ad330ec01c serf-1.3.0.tar.bz2"
+sha512sums="9396b7ffe0fd4fa23fd8cba2f81bf12ea1151d92fc5486b7396aa76ee77c3ed020507aec9f6be427c57248cac12457080b08bb5837b4b2b49cf1dc13ebf3d222 serf-1.3.0.tar.bz2"