wok-next view cryptopp/receipt @ rev 19655

Up mtdev, yandex-disk; add libevdev, libinput.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 03 15:33:33 2017 +0200 (2017-03-03)
parents ee5c8b018b62
children 8463a96c1226
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 cd $src
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 }