wok-next diff libtorrent/receipt @ rev 20678

Up clisp (2.50)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 15 02:59:03 2018 +0300 (2018-05-15)
parents a7b1395df64a
children 9b776cbcad4e
line diff
     1.1 --- a/libtorrent/receipt	Fri Mar 02 13:45:43 2018 +0200
     1.2 +++ b/libtorrent/receipt	Tue May 15 02:59:03 2018 +0300
     1.3 @@ -11,29 +11,26 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL"
     1.6  
     1.7 -CROSS_BUGS="bug: can not run test program"
     1.8 -
     1.9  BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev"
    1.10  SPLIT="libtorrent-dev"
    1.11  
    1.12 +CROSS_BUGS="bug: can not run test program"
    1.13 +
    1.14  compile_rules() {
    1.15 -	./configure \
    1.16 -		$CONFIGURE_ARGS &&
    1.17 -	make && make install
    1.18 +	./configure $CONFIGURE_ARGS &&
    1.19 +	fix libtool &&
    1.20 +	make &&
    1.21 +	make install
    1.22  }
    1.23  
    1.24  genpkg_rules() {
    1.25  	case $PACKAGE in
    1.26  		libtorrent)
    1.27 -			mkdir -p $fs/usr/lib
    1.28 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.29 +			copy @std
    1.30  			DEPENDS="curl libsigc++ openssl"
    1.31  			;;
    1.32  		*-dev)
    1.33 -			mkdir -p $fs/usr/lib/pkgconfig
    1.34 -			cp -a $install/usr/include $fs/usr
    1.35 -			cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.36 -			cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig
    1.37 +			copy @dev
    1.38  			;;
    1.39  	esac
    1.40  }