wok-current annotate haproxy/receipt @ rev 18130
Up: pcmanfm, libfm* (git)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Jun 12 14:08:40 2015 +0200 (2015-06-12) |
parents | 7bb096863642 |
children | f6af821600e6 |
rev | line source |
---|---|
pascal@11551 | 1 # SliTaz package receipt. |
pascal@11551 | 2 |
pascal@11551 | 3 PACKAGE="haproxy" |
pascal@15504 | 4 VERSION="1.4.24" |
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@15215 | 8 LICENSE="GPL LGPL" |
pascal@11551 | 9 WEB_SITE="http://haproxy.1wt.eu" |
pascal@11551 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11551 | 11 WGET_URL="$WEB_SITE/download/${VERSION%.*}/src/$TARBALL" |
pascal@11551 | 12 |
pascal@11551 | 13 DEPENDS="pcre" |
pascal@11551 | 14 BUILD_DEPENDS="pcre-dev" |
pascal@11551 | 15 |
pascal@11551 | 16 # Rules to configure and make the package. |
pascal@11551 | 17 compile_rules() |
pascal@11551 | 18 { |
pascal@11551 | 19 cd $src |
pascal@11551 | 20 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR install |
pascal@11551 | 21 } |
pascal@11551 | 22 |
pascal@11551 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11551 | 24 genpkg_rules() |
pascal@11551 | 25 { |
pascal@11551 | 26 mkdir $fs/usr |
pascal@15215 | 27 cp -a $install/usr/sbin $fs/usr |
pascal@11551 | 28 } |