wok view cryptopp/receipt @ rev 20255

firefox, thunderbird: try to force i686
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 21:40:37 2018 +0100 (2018-03-13)
parents c1e059ce9a05
children 6e8b1bcb30e2
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="http://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 }