main/haproxy: enable splice, and other nice features

Use the built in make target linux2628 meaning linux-2.6.28 or
higher kernel can be assumed.
This commit is contained in:
Timo Teräs 2012-09-11 11:00:17 +03:00
parent 067e5a888b
commit 22f952fbfc

View File

@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=haproxy
pkgver=1.4.22
pkgrel=2
pkgrel=3
pkgdesc="A TCP/HTTP reverse proxy for high availability environments"
url="http://haproxy.1wt.eu"
arch="all"
@ -17,7 +17,7 @@ source="http://haproxy.1wt.eu/download/${pkgver%.*}/src/$pkgname-$pkgver.tar.gz
build() {
cd "$srcdir/$pkgname-$pkgver"
make TARGET=linux26 USE_PCRE=1 CFLAGS="$CFLAGS" || return 1
make TARGET=linux2628 USE_PCRE=1 CFLAGS="$CFLAGS" || return 1
}
package() {