wok-next annotate cryptopp/receipt @ rev 4637
Up: web-applications (1.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Dec 24 18:22:10 2009 +0100 (2009-12-24) |
parents | |
children | 25f2b76b9db6 |
rev | line source |
---|---|
pankso@4074 | 1 # SliTaz package receipt. |
pankso@4074 | 2 |
pankso@4074 | 3 PACKAGE="cryptopp" |
pankso@4074 | 4 VERSION="5.6.0" |
pankso@4074 | 5 CATEGORY="security" |
pankso@4074 | 6 SHORT_DESC="C++ class library of cryptographic schemes." |
pankso@4074 | 7 MAINTAINER="pankso#slitaz.org" |
pankso@4074 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4074 | 9 WEB_SITE="http://www.cryptopp.com/" |
pankso@4074 | 10 WGET_URL="http://mirror.slitaz.org/sources/packages/c/$TARBALL" |
pankso@4074 | 11 |
pankso@4074 | 12 # Rules to configure and make the package. |
pankso@4074 | 13 compile_rules() |
pankso@4074 | 14 { |
pankso@4074 | 15 cd $src |
pankso@4074 | 16 make && |
pankso@4074 | 17 make PREFIX=$PWD/_pkg/usr install |
pankso@4074 | 18 } |
pankso@4074 | 19 |
pankso@4074 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4074 | 21 genpkg_rules() |
pankso@4074 | 22 { |
pankso@4074 | 23 mkdir -p $fs/usr/share/doc/$PACKAGE |
pankso@4074 | 24 cp -a $_pkg/usr/lib $fs/usr |
pankso@4074 | 25 cp -a $_pkg/usr/include $fs/usr |
pankso@4074 | 26 cp $src/License.txt $fs/usr/share/doc/$PACKAGE |
pankso@4074 | 27 cp $src/Readme.txt $fs/usr/share/doc/$PACKAGE |
pankso@4074 | 28 } |