wok-next diff haproxy/receipt @ rev 20891
cookutils: up (1085); syslinux: remove docs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 19 18:27:17 2018 +0300 (2018-07-19) |
parents | f6af821600e6 |
children | d5aab818505e |
line diff
1.1 --- a/haproxy/receipt Wed Jul 06 10:06:06 2016 +0200 1.2 +++ b/haproxy/receipt Thu Jul 19 18:27:17 2018 +0300 1.3 @@ -1,28 +1,24 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="haproxy" 1.8 VERSION="1.4.24" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="Reliable, High Performance TCP/HTTP Load Balancer." 1.11 +SHORT_DESC="Reliable, High Performance TCP/HTTP Load Balancer" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL LGPL" 1.14 WEB_SITE="http://haproxy.1wt.eu" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WGET_URL="$WEB_SITE/download/${VERSION%.*}/src/$TARBALL" 1.18 1.19 -DEPENDS="pcre" 1.20 BUILD_DEPENDS="pcre-dev" 1.21 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 +compile_rules() { 1.26 sed -i 's|/doc|/share&|' Makefile* 1.27 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR install 1.28 } 1.29 1.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 -genpkg_rules() 1.32 -{ 1.33 - mkdir $fs/usr 1.34 - cp -a $install/usr/sbin $fs/usr 1.35 +genpkg_rules() { 1.36 + copy @std 1.37 + DEPENDS="libpcre libpcreposix" 1.38 }