wok view haproxy/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
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 }