wok-current rev 4074

Add: cryptopp (C++ class library of cryptographic schemes)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Sep 13 23:57:14 2009 +0200 (2009-09-13)
parents 7e4cc2ea9585
children 97b738de32f6
files cryptopp/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cryptopp/receipt	Sun Sep 13 23:57:14 2009 +0200
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cryptopp"
     1.7 +VERSION="5.6.0"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="C++ class library of cryptographic schemes."
    1.10 +MAINTAINER="pankso#slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://www.cryptopp.com/"
    1.13 +WGET_URL="http://mirror.slitaz.org/sources/packages/c/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	cd $src
    1.19 +	make &&
    1.20 +	make PREFIX=$PWD/_pkg/usr install
    1.21 +}
    1.22 +
    1.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 +genpkg_rules()
    1.25 +{
    1.26 +	mkdir -p $fs/usr/share/doc/$PACKAGE
    1.27 +	cp -a $_pkg/usr/lib $fs/usr
    1.28 +	cp -a $_pkg/usr/include $fs/usr
    1.29 +	cp $src/License.txt $fs/usr/share/doc/$PACKAGE
    1.30 +	cp $src/Readme.txt $fs/usr/share/doc/$PACKAGE
    1.31 +}