wok-next view cryptopp/receipt @ rev 15262
pkg-config: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 24 15:33:15 2013 +0000 (2013-09-24) |
parents | ee6d13c8379c |
children | ee5c8b018b62 |
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 TARBALL="${PACKAGE}561.zip"
9 WEB_SITE="http://www.cryptopp.com"
10 WGET_URL="$WEB_SITE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 patch -Np1 < $stuff/$PACKAGE-$VERSION-gcc-4.7.0.patch
17 make
18 make libcryptopp.so
19 make PREFIX=$PWD/_pkg/usr install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/doc/$PACKAGE
26 cp -a $install/usr/lib $fs/usr
27 cp -a $install/usr/include $fs/usr
28 cp $src/License.txt $fs/usr/share/doc/$PACKAGE
29 cp $src/Readme.txt $fs/usr/share/doc/$PACKAGE
30 }