wok-6.x view cryptopp/receipt @ rev 21986
linld: x86 support (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 14 14:56:58 2019 +0200 (2019-10-14) |
parents | 6e8b1bcb30e2 |
children | 29af9ccd87db |
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 install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/doc/$PACKAGE
27 cp -a $install/usr/lib $fs/usr
28 cp -a $install/usr/include $fs/usr
29 cp $src/License.txt $fs/usr/share/doc/$PACKAGE
30 cp $src/Readme.txt $fs/usr/share/doc/$PACKAGE
31 }