mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
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:
parent
067e5a888b
commit
22f952fbfc
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user