wok-6.x diff cryptopp/receipt @ rev 13679

cryptopp: up 5.6.1
author Samuel Trassare <samuel_trassare@yahoo.com>
date Tue Nov 27 09:57:29 2012 -0800 (2012-11-27)
parents 25f2b76b9db6
children 3c7348ca269f
line diff
     1.1 --- a/cryptopp/receipt	Sun Mar 21 09:28:08 2010 +0100
     1.2 +++ b/cryptopp/receipt	Tue Nov 27 09:57:29 2012 -0800
     1.3 @@ -1,19 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cryptopp"
     1.7 -VERSION="5.6.0"
     1.8 +VERSION="5.6.1"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="C++ class library of cryptographic schemes."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 -WEB_SITE="http://www.cryptopp.com/"
    1.14 -WGET_URL="http://mirror.slitaz.org/sources/packages/c/$TARBALL"
    1.15 +TARBALL="${PACKAGE}561.zip"
    1.16 +WEB_SITE="http://www.cryptopp.com"
    1.17 +WGET_URL="$WEB_SITE/$TARBALL"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22  	cd $src
    1.23 -	make &&
    1.24 +	patch -Np1 < $stuff/$PACKAGE-$VERSION-gcc-4.7.0.patch
    1.25 +	make 
    1.26 +	make libcryptopp.so
    1.27  	make PREFIX=$PWD/_pkg/usr install
    1.28  }
    1.29  
    1.30 @@ -21,8 +23,8 @@
    1.31  genpkg_rules()
    1.32  {
    1.33  	mkdir -p $fs/usr/share/doc/$PACKAGE
    1.34 -	cp -a $_pkg/usr/lib $fs/usr
    1.35 -	cp -a $_pkg/usr/include $fs/usr
    1.36 +	cp -a $INSTALL/usr/lib $fs/usr
    1.37 +	cp -a $INSTALL/usr/include $fs/usr
    1.38  	cp $src/License.txt $fs/usr/share/doc/$PACKAGE
    1.39  	cp $src/Readme.txt $fs/usr/share/doc/$PACKAGE
    1.40  }