wok-current annotate cryptopp/receipt @ rev 20671
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 24 11:33:03 2019 +0100 (2019-01-24) |
parents | 3705d68ed8f3 |
children | 8f633e989eed |
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" |
pascal@20671 | 10 WEB_SITE="https://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 { |
pascal@20212 | 16 sed -i 's|uname -m|echo i486|' GNUmakefile |
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 } |