wok annotate haproxy/receipt @ rev 21361
linapple: modified TARBALL
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 21 10:54:50 2019 +0100 (2019-04-21) |
parents | f6af821600e6 |
children | 83b97236db32 |
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@11551 | 17 # Rules to configure and make the package. |
pascal@11551 | 18 compile_rules() |
pascal@11551 | 19 { |
pascal@19290 | 20 sed -i 's|/doc|/share&|' Makefile* |
Hans-G?nter@21025 | 21 |
Hans-G?nter@21025 | 22 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR && |
pascal@11551 | 23 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR install |
pascal@11551 | 24 } |
pascal@11551 | 25 |
pascal@11551 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11551 | 27 genpkg_rules() |
pascal@11551 | 28 { |
pascal@11551 | 29 mkdir $fs/usr |
pascal@15215 | 30 cp -a $install/usr/sbin $fs/usr |
pascal@11551 | 31 } |