wok-next view haproxy/receipt @ rev 19717

tty-clock: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 23 11:13:34 2017 +0200 (2017-05-23)
parents ae52f5feb36d
children 342b30daff76
line source
1 # SliTaz package receipt.
3 PACKAGE="haproxy"
4 VERSION="1.4.24"
5 CATEGORY="network"
6 SHORT_DESC="Reliable, High Performance TCP/HTTP Load Balancer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL LGPL"
9 WEB_SITE="http://haproxy.1wt.eu"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/download/${VERSION%.*}/src/$TARBALL"
13 DEPENDS="pcre"
14 BUILD_DEPENDS="pcre-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/doc|/share&|' Makefile*
20 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir $fs/usr
27 cp -a $install/usr/sbin $fs/usr
28 }