wok view haproxy/receipt @ rev 12117

Up: tazdev (1.5) - Use pkgs to create minimal chroot, improvment and fixes
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 13 09:57:31 2012 +0100 (2012-03-13)
parents
children 7bb096863642
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 }