wok-next diff commoncpp2/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 a7b1395df64a
children 835b3b8ce6ac
line diff
     1.1 --- a/commoncpp2/receipt	Fri Mar 02 13:45:43 2018 +0200
     1.2 +++ b/commoncpp2/receipt	Fri Mar 30 19:31:50 2018 +0300
     1.3 @@ -16,26 +16,20 @@
     1.4  
     1.5  compile_rules() {
     1.6  	sed -i -e '50 a\#include <sys/stat.h>' inc/cc++/applog.h
     1.7 -	./configure \
     1.8 -		--sysconfdir=/etc \
     1.9 -		$CONFIGURE_ARGS &&
    1.10 -	make && make install
    1.11 +
    1.12 +	./configure $CONFIGURE_ARGS &&
    1.13 +	make &&
    1.14 +	make install
    1.15  }
    1.16  
    1.17  genpkg_rules() {
    1.18  	case $PACKAGE in
    1.19  		commoncpp2)
    1.20 -			mkdir -p $fs/usr/lib
    1.21 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.22 +			copy @std
    1.23  			DEPENDS="glibc-base gcc-lib-base zlib"
    1.24  			;;
    1.25  		*-dev)
    1.26 -			mkdir -p $fs/usr/lib $fs/usr/share
    1.27 -			cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.28 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.29 -			cp -a $install/usr/bin $fs/usr
    1.30 -			cp -a $install/usr/include $fs/usr
    1.31 -			cp -a $install/usr/share/aclocal $fs/usr/share
    1.32 +			copy @dev
    1.33  			;;
    1.34  	esac
    1.35  }