wok-current view haproxy/receipt @ rev 19651

Up cookutils (869)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 23 11:18:30 2017 +0200 (2017-01-23)
parents ae52f5feb36d
children c1919f67e25e
line source
1 # SliTaz package receipt.
3 PACKAGE="haproxy"
4 VERSION="1.4.24"
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="http://haproxy.1wt.eu"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/download/${VERSION%.*}/src/$TARBALL"
13 DEPENDS="pcre"
14 BUILD_DEPENDS="pcre-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/doc|/share&|' Makefile*
20 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir $fs/usr
27 cp -a $install/usr/sbin $fs/usr
28 }