wok-6.x view haproxy/receipt @ rev 23725

hplip: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 30 16:01:51 2020 +0000 (2020-04-30)
parents f6af821600e6
children 83b97236db32
line source
1 # SliTaz package receipt.
3 PACKAGE="haproxy"
4 VERSION="1.9.4"
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="https://haproxy.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/download/${VERSION%.*}/src/$TARBALL"
14 DEPENDS="pcre"
15 BUILD_DEPENDS="pcre-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|/doc|/share&|' Makefile*
22 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR &&
23 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir $fs/usr
30 cp -a $install/usr/sbin $fs/usr
31 }