wok-next rev 20676

c_icap: up (0.5.3) / fix build.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 12 17:29:32 2018 +0300 (2018-05-12)
parents 63ae365eb07d
children a918044cbc4c
files c_icap/receipt
line diff
     1.1 --- a/c_icap/receipt	Sat May 12 17:04:31 2018 +0300
     1.2 +++ b/c_icap/receipt	Sat May 12 17:29:32 2018 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="c_icap"
     1.7 -VERSION="0.1.7"
     1.8 +VERSION="0.5.3"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Implementation of an ICAP server"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -11,7 +11,7 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="$SF_MIRROR/c-icap/$TARBALL"
    1.15  
    1.16 -BUILD_DEPENDS="zlib-dev"
    1.17 +BUILD_DEPENDS="openssl-dev zlib-dev bzip2-dev brotli-dev openldap-dev pcre-dev"
    1.18  SPLIT="c_icap-dev"
    1.19  
    1.20  compile_rules() {
    1.21 @@ -23,8 +23,8 @@
    1.22  	make &&
    1.23  	make install || return 1
    1.24  
    1.25 -	mkdir -p $install/etc/init.d/ $install/var/log/c-icap/
    1.26 -	install -m755 $stuff/c-icapd $install/etc/init.d
    1.27 +	mkdir -p $install/var/log/c-icap/
    1.28 +	install -Dm755 $stuff/c-icapd $install/etc/init.d/c-icapd
    1.29  
    1.30  	# Fix config file
    1.31  	sed -i -e "s|YourServerName|localhost|;
    1.32 @@ -38,6 +38,7 @@
    1.33  	case $PACKAGE in
    1.34  		c_icap)
    1.35  			copy @std var/log/c-icap/
    1.36 +			DEPENDS="brotli bzlib libldap libpcre openssl zlib"
    1.37  			;;
    1.38  		*-dev)
    1.39  			copy @dev