wok-4.x view haproxy/receipt @ rev 11686

git: update start script
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 18 16:50:02 2012 +0100 (2012-02-18)
parents
children 31b2bc0c9f03
line source
1 # SliTaz package receipt.
3 PACKAGE="haproxy"
4 VERSION="1.4.18"
5 CATEGORY="network"
6 SHORT_DESC="Reliable, High Performance TCP/HTTP Load Balancer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://haproxy.1wt.eu"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$WEB_SITE/download/${VERSION%.*}/src/$TARBALL"
12 DEPENDS="pcre"
13 BUILD_DEPENDS="pcre-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir $fs/usr
26 cp -a $_pkg/usr/sbin $fs/usr
27 }