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

Up: slitaz-base-files (4.5)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 05 13:57:05 2012 +0200 (2012-04-05)
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 }