wok-next annotate cryptopp/receipt @ rev 14951
Up: ethumb (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:16:02 2013 +0200 (2013-08-08) |
parents | ee6d13c8379c |
children | ee5c8b018b62 |
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@13684 | 26 cp -a $install/usr/lib $fs/usr |
samuel_trassare@13684 | 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 } |