wok-current view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="cryptopp"
4 VERSION="8.0.0"
5 CATEGORY="security"
6 SHORT_DESC="C++ class library of cryptographic schemes."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT PublicDomain"
9 WEB_SITE="https://www.cryptopp.com"
11 TARBALL="${PACKAGE}800.zip"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 sed -i 's|uname -m|echo i486|' GNUmakefile
18 make PREFIX=/usr &&
19 make PREFIX=/usr libcryptopp.so &&
20 make PREFIX=/usr libcryptopp.pc &&
21 make PREFIX=/usr install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/doc/$PACKAGE
28 cp -a $install/usr/lib $fs/usr
29 cp -a $install/usr/include $fs/usr
30 cp $src/License.txt $fs/usr/share/doc/$PACKAGE
31 cp $src/Readme.txt $fs/usr/share/doc/$PACKAGE
32 }