wok-current view cryptopp/receipt @ rev 15606
gpxe: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 19:58:32 2013 +0000 (2013-12-06) |
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 }