wok-6.x view cryptopp/receipt @ rev 20768
updated ccache (3.1.3 -> 3.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 13 16:25:25 2019 +0100 (2019-02-13) |
parents | 3705d68ed8f3 |
children | 8f633e989eed |
line source
1 # SliTaz package receipt.
3 PACKAGE="cryptopp"
4 VERSION="5.6.1"
5 CATEGORY="security"
6 SHORT_DESC="C++ class library of cryptographic schemes."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT PublicDomain"
9 TARBALL="${PACKAGE}561.zip"
10 WEB_SITE="https://www.cryptopp.com"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 sed -i 's|uname -m|echo i486|' GNUmakefile
17 patch -Np1 < $stuff/$PACKAGE-$VERSION-gcc-4.7.0.patch
18 make
19 make libcryptopp.so
20 make PREFIX=$DESTDIR/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 }