wok annotate haproxy/receipt @ rev 24827
updated libsigsegv (2.12 -> 2.14)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 17:25:49 2022 +0100 (2022-03-23) |
parents | c1919f67e25e |
children |
rev | line source |
---|---|
pascal@11551 | 1 # SliTaz package receipt. |
pascal@11551 | 2 |
pascal@11551 | 3 PACKAGE="haproxy" |
Hans-G?nter@21025 | 4 VERSION="1.9.4" |
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" |
Hans-G?nter@21025 | 9 WEB_SITE="https://haproxy.org" |
Hans-G?nter@21025 | 10 |
pascal@11551 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11551 | 12 WGET_URL="$WEB_SITE/download/${VERSION%.*}/src/$TARBALL" |
pascal@11551 | 13 |
pascal@11551 | 14 DEPENDS="pcre" |
pascal@11551 | 15 BUILD_DEPENDS="pcre-dev" |
pascal@11551 | 16 |
pascal@24427 | 17 # What is the latest version available today? |
pascal@24427 | 18 current_version() |
pascal@24427 | 19 { |
pascal@24427 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24427 | 21 sed "/dev/d;/LATEST/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\([0-9\\.]*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24427 | 22 } |
pascal@24427 | 23 |
pascal@11551 | 24 # Rules to configure and make the package. |
pascal@11551 | 25 compile_rules() |
pascal@11551 | 26 { |
pascal@19290 | 27 sed -i 's|/doc|/share&|' Makefile* |
Hans-G?nter@21025 | 28 |
Hans-G?nter@21025 | 29 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR && |
pascal@11551 | 30 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR install |
pascal@11551 | 31 } |
pascal@11551 | 32 |
pascal@11551 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11551 | 34 genpkg_rules() |
pascal@11551 | 35 { |
pascal@11551 | 36 mkdir $fs/usr |
pascal@15215 | 37 cp -a $install/usr/sbin $fs/usr |
pascal@11551 | 38 } |