wok annotate haproxy/receipt @ rev 13371
Up: slitaz-base-files (5.3) - bunch of improvments, thanks Aleksej
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Sep 14 22:30:53 2012 +0200 (2012-09-14) |
parents | |
children | 7bb096863642 |
rev | line source |
---|---|
pascal@11551 | 1 # SliTaz package receipt. |
pascal@11551 | 2 |
pascal@11551 | 3 PACKAGE="haproxy" |
pascal@11551 | 4 VERSION="1.4.18" |
pascal@11551 | 5 CATEGORY="network" |
pascal@11551 | 6 SHORT_DESC="Reliable, High Performance TCP/HTTP Load Balancer." |
pascal@11551 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11551 | 8 WEB_SITE="http://haproxy.1wt.eu" |
pascal@11551 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11551 | 10 WGET_URL="$WEB_SITE/download/${VERSION%.*}/src/$TARBALL" |
pascal@11551 | 11 |
pascal@11551 | 12 DEPENDS="pcre" |
pascal@11551 | 13 BUILD_DEPENDS="pcre-dev" |
pascal@11551 | 14 |
pascal@11551 | 15 # Rules to configure and make the package. |
pascal@11551 | 16 compile_rules() |
pascal@11551 | 17 { |
pascal@11551 | 18 cd $src |
pascal@11551 | 19 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR install |
pascal@11551 | 20 } |
pascal@11551 | 21 |
pascal@11551 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11551 | 23 genpkg_rules() |
pascal@11551 | 24 { |
pascal@11551 | 25 mkdir $fs/usr |
pascal@11551 | 26 cp -a $_pkg/usr/sbin $fs/usr |
pascal@11551 | 27 } |