wok-current annotate cryptopp/receipt @ rev 24053

Up slitaz-boot-script (471)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 27 13:42:59 2021 +0000 (2021-05-27)
parents 8f633e989eed
children ad8b9ff412d2
rev   line source
pankso@4074 1 # SliTaz package receipt.
pankso@4074 2
pankso@4074 3 PACKAGE="cryptopp"
Hans-G?nter@20813 4 VERSION="8.0.0"
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"
pascal@20671 9 WEB_SITE="https://www.cryptopp.com"
Hans-G?nter@20813 10
Hans-G?nter@20813 11 TARBALL="${PACKAGE}800.zip"
samuel_trassare@13679 12 WGET_URL="$WEB_SITE/$TARBALL"
pankso@4074 13
pankso@4074 14 # Rules to configure and make the package.
pankso@4074 15 compile_rules()
pankso@4074 16 {
pascal@20212 17 sed -i 's|uname -m|echo i486|' GNUmakefile
Hans-G?nter@20813 18 make PREFIX=/usr &&
Hans-G?nter@20813 19 make PREFIX=/usr libcryptopp.so &&
pascal@23065 20 make PREFIX=/usr libcryptopp.pc &&
Hans-G?nter@20813 21 make PREFIX=/usr install
pankso@4074 22 }
pankso@4074 23
pankso@4074 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4074 25 genpkg_rules()
pankso@4074 26 {
pankso@4074 27 mkdir -p $fs/usr/share/doc/$PACKAGE
samuel_trassare@13684 28 cp -a $install/usr/lib $fs/usr
samuel_trassare@13684 29 cp -a $install/usr/include $fs/usr
pankso@4074 30 cp $src/License.txt $fs/usr/share/doc/$PACKAGE
pankso@4074 31 cp $src/Readme.txt $fs/usr/share/doc/$PACKAGE
pankso@4074 32 }