wok view haproxy/receipt @ rev 21177
code2: update website
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 01 19:27:16 2019 +0200 (2019-04-01) |
parents | f6af821600e6 |
children | 83b97236db32 |
line source
1 # SliTaz package receipt.
3 PACKAGE="haproxy"
4 VERSION="1.9.4"
5 CATEGORY="network"
6 SHORT_DESC="Reliable, High Performance TCP/HTTP Load Balancer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL LGPL"
9 WEB_SITE="https://haproxy.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/download/${VERSION%.*}/src/$TARBALL"
14 DEPENDS="pcre"
15 BUILD_DEPENDS="pcre-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|/doc|/share&|' Makefile*
22 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR &&
23 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir $fs/usr
30 cp -a $install/usr/sbin $fs/usr
31 }