wok-current view cryptopp/receipt @ rev 18874
Up node (0.10.41)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 04 16:21:24 2016 +0100 (2016-02-04) |
parents | ee5c8b018b62 |
children | 3705d68ed8f3 |
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 }