wok view haproxy/receipt @ rev 25015

Add bzip3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 17 11:06:25 2022 +0000 (23 months ago)
parents c1919f67e25e
children
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/dev/d;/LATEST/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\([0-9\\.]*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|/doc|/share&|' Makefile*
29 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR &&
30 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir $fs/usr
37 cp -a $install/usr/sbin $fs/usr
38 }