blob: bc52bea55a9428804be903666583f87b2b65ab6c (
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
38
39
40
41
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pound
pkgver=2.5
pkgrel=2
pkgdesc="A reverse proxy, load balancer, and SSL wrapper"
url="http://www.apsis.ch/pound/index_html"
arch="all"
license="GPL"
depends=
makedepends="pcre-dev openssl-dev"
subpackages="$pkgname-doc"
source="http://www.apsis.ch/$pkgname/Pound-$pkgver.tgz
pound.cfg
pound-2.5-openssl.patch
$pkgname.initd"
_builddir="$srcdir"/Pound-$pkgver
prepare() {
cd "$_builddir"
for i in "$srcdir"/*.patch; do
patch -p1 -i "$i" || return 1
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr --sysconfdir=/etc/pound
make || return 1
}
package() {
cd "$_builddir"
install -d "$pkgdir"/usr/sbin
make DESTDIR="$pkgdir" install || return 1
install -Dm755 "$srcdir"/pound.initd "$pkgdir"/etc/init.d/pound
install -Dm644 "$srcdir"/pound.cfg "$pkgdir"/etc/pound.cfg
}
md5sums="8a39f5902094619afcda7d12d9d8342c Pound-2.5.tgz
736b12a47acbb7fc2802ed7f51e959d0 pound.cfg
c2c48dc395ffc045f9d35394992292d0 pound-2.5-openssl.patch
074fc58c89bb70e8fcd767ee70ebd0f0 pound.initd"
|