wok annotate cryptopp/receipt @ rev 19910
add ussp-push (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 13 10:45:52 2017 +0200 (2017-04-13) |
parents | ee5c8b018b62 |
children | 3705d68ed8f3 |
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" |
pascal@15606 | 8 LICENSE="MIT PublicDomain" |
samuel_trassare@13679 | 9 TARBALL="${PACKAGE}561.zip" |
samuel_trassare@13679 | 10 WEB_SITE="http://www.cryptopp.com" |
samuel_trassare@13679 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pankso@4074 | 12 |
pankso@4074 | 13 # Rules to configure and make the package. |
pankso@4074 | 14 compile_rules() |
pankso@4074 | 15 { |
pankso@4074 | 16 cd $src |
samuel_trassare@13679 | 17 patch -Np1 < $stuff/$PACKAGE-$VERSION-gcc-4.7.0.patch |
samuel_trassare@13679 | 18 make |
samuel_trassare@13679 | 19 make libcryptopp.so |
pascal@15602 | 20 make PREFIX=$DESTDIR/usr install |
pankso@4074 | 21 } |
pankso@4074 | 22 |
pankso@4074 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4074 | 24 genpkg_rules() |
pankso@4074 | 25 { |
pankso@4074 | 26 mkdir -p $fs/usr/share/doc/$PACKAGE |
samuel_trassare@13684 | 27 cp -a $install/usr/lib $fs/usr |
samuel_trassare@13684 | 28 cp -a $install/usr/include $fs/usr |
pankso@4074 | 29 cp $src/License.txt $fs/usr/share/doc/$PACKAGE |
pankso@4074 | 30 cp $src/Readme.txt $fs/usr/share/doc/$PACKAGE |
pankso@4074 | 31 } |