aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2011-06-28 08:35:54 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-06-28 08:35:54 +0000
commit4b124450b97aa855d1a088478a8852f1228cb3b8 (patch)
treeee049b87f569b2bb9af36b2fadb7e4f3dc11fd5c /testing
parent41ea0824183f7bc5d9f7640e67b09691f14e7afd (diff)
downloadaports-4b124450b97aa855d1a088478a8852f1228cb3b8.tar.bz2
aports-4b124450b97aa855d1a088478a8852f1228cb3b8.tar.xz
testing/cherokee: upgrade to 1.2.98
ref #697
Diffstat (limited to 'testing')
-rw-r--r--testing/cherokee/APKBUILD22
1 files changed, 14 insertions, 8 deletions
diff --git a/testing/cherokee/APKBUILD b/testing/cherokee/APKBUILD
index 6598c3d93d..af105be824 100644
--- a/testing/cherokee/APKBUILD
+++ b/testing/cherokee/APKBUILD
@@ -1,14 +1,15 @@
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=cherokee
-pkgver=1.0.16
+pkgver=1.2.98
pkgrel=0
pkgdesc="A very fast, flexible and easy to configure Web Server"
url="http://www.cherokee-project.com/"
arch="all"
license="GPL2"
depends="pcre rrdtool"
-makedepends="openssl-dev gettext-dev ffmpeg-dev"
+depends_dev="openssl-dev gettext-dev ffmpeg-dev geoip-dev"
+makedepends="$depends_dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.cherokee-project.com/download/${pkgver%.*}/${pkgver}/${pkgname}-${pkgver}.tar.gz
@@ -17,23 +18,28 @@ source="http://www.cherokee-project.com/download/${pkgver%.*}/${pkgver}/${pkgnam
"
_builddir="$srcdir"/$pkgname-$pkgver
+
build() {
cd "$_builddir"
./configure --prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
- --with-wwwroot=/var/www
+ --with-wwwroot=/var/www \
+ --enable-os-string="Alpine Linux"
make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
-
- install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
- install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+
+ make -j1 DESTDIR="$pkgdir" install || return 1
+
+ install -m755 -D "$srcdir"/$pkgname.initd \
+ "$pkgdir"/etc/init.d/$pkgname || return 1
+ install -m644 -D "$srcdir"/$pkgname.confd \
+ "$pkgdir"/etc/conf.d/$pkgname || return 1
}
-md5sums="d9ace1e79237ea60198dafe52cb172d1 cherokee-1.0.16.tar.gz
+md5sums="21b01e7d45c0e82ecc0c4257a9c27feb cherokee-1.2.98.tar.gz
4180dbb6701f928054079aa1e3bd5ebc cherokee.initd
bd6a840f72c630ce1eaabe058097584f cherokee.confd"