wok annotate 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 |
rev | line source |
---|---|
pankso@4074 | 1 # SliTaz package receipt. |
pankso@4074 | 2 |
pankso@4074 | 3 PACKAGE="cryptopp" |
samuel_trassare@13679 | 4 VERSION="5.6.1" |
pankso@4074 | 5 CATEGORY="security" |
pankso@4074 | 6 SHORT_DESC="C++ class library of cryptographic schemes." |
erjo@5122 | 7 MAINTAINER="pankso@slitaz.org" |
samuel_trassare@13679 | 8 TARBALL="${PACKAGE}561.zip" |
samuel_trassare@13679 | 9 WEB_SITE="http://www.cryptopp.com" |
samuel_trassare@13679 | 10 WGET_URL="$WEB_SITE/$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 |
samuel_trassare@13679 | 16 patch -Np1 < $stuff/$PACKAGE-$VERSION-gcc-4.7.0.patch |
samuel_trassare@13679 | 17 make |
samuel_trassare@13679 | 18 make libcryptopp.so |
pankso@4074 | 19 make PREFIX=$PWD/_pkg/usr install |
pankso@4074 | 20 } |
pankso@4074 | 21 |
pankso@4074 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4074 | 23 genpkg_rules() |
pankso@4074 | 24 { |
pankso@4074 | 25 mkdir -p $fs/usr/share/doc/$PACKAGE |
samuel_trassare@13679 | 26 cp -a $INSTALL/usr/lib $fs/usr |
samuel_trassare@13679 | 27 cp -a $INSTALL/usr/include $fs/usr |
pankso@4074 | 28 cp $src/License.txt $fs/usr/share/doc/$PACKAGE |
pankso@4074 | 29 cp $src/Readme.txt $fs/usr/share/doc/$PACKAGE |
pankso@4074 | 30 } |