wok-current annotate haproxy/receipt @ rev 19595
Up: man-pages (4.09)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Jan 01 17:13:11 2017 +0000 (2017-01-01) |
parents | ae52f5feb36d |
children | c1919f67e25e |
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@19290 | 19 sed -i 's|/doc|/share&|' Makefile* |
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 } |