wok-current view haproxy/receipt @ rev 25601

use gcc49-lib-base for openldap-dev
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 12:04:33 2023 +0000 (16 months ago)
parents c1919f67e25e
children 5926178cd6fa
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 }