wok-next diff coova-chilli/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents 4396aed7eb01
children 835b3b8ce6ac
line diff
     1.1 --- a/coova-chilli/receipt	Wed Mar 07 19:43:44 2018 +0200
     1.2 +++ b/coova-chilli/receipt	Fri Mar 30 19:31:50 2018 +0300
     1.3 @@ -18,11 +18,6 @@
     1.4  	sed -i 's|return -1; safe_close|return -1;\n safe_close|' src/redir.c
     1.5  	sed -i 's|if (.\(safe_write.*\)) /. error ./|\1|' src/garden.c
     1.6  	./configure \
     1.7 -		--prefix=/usr \
     1.8 -		--mandir=/usr/share/man \
     1.9 -		--infodir=/usr/share/info \
    1.10 -		--sysconfdir=/etc \
    1.11 -		--localstatedir=/var \
    1.12  		--enable-largelimits \
    1.13  		--enable-binstatusfile \
    1.14  		--enable-statusfile \
    1.15 @@ -55,19 +50,11 @@
    1.16  genpkg_rules() {
    1.17  	case $PACKAGE in
    1.18  		coova-chilli)
    1.19 -			mkdir -p $fs/usr/lib/coova-chilli
    1.20 -			cp -a $install/usr/lib/coova-chilli/*.so* $fs/usr/lib/
    1.21 -			cp -a $install/usr/lib/*.so* $fs/usr/lib/
    1.22 -			cp -a $install/usr/sbin $fs/usr/
    1.23 -			cp -a $install/etc $fs/
    1.24 +			copy @std
    1.25  			DEPENDS="openssl curl libidn"
    1.26  			;;
    1.27  		*-dev)
    1.28 -			mkdir -p $fs/usr/lib/coova-chilli
    1.29 -			cp -a $install/usr/lib/coova-chilli/*a $fs/usr/lib/
    1.30 -			cp -a $install/usr/lib/*a $fs/usr/lib/
    1.31 -			cp -a $install/usr/lib/python $fs/usr/lib/
    1.32 -			cp -a $install/usr/include $fs/usr/
    1.33 +			copy @dev
    1.34  			;;
    1.35  	esac
    1.36  }