wok-stable view haproxy/receipt @ rev 11941

c_icap: Add initscript & fix configfile
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Mar 01 07:01:35 2012 +0100 (2012-03-01)
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 }