wok annotate cryptopp/receipt @ rev 10562

openexr: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 22:38:15 2011 +0200 (2011-05-25)
parents eafbbe3577c9
children ee6d13c8379c
rev   line source
pankso@4074 1 # SliTaz package receipt.
pankso@4074 2
pankso@4074 3 PACKAGE="cryptopp"
pankso@4074 4 VERSION="5.6.0"
pankso@4074 5 CATEGORY="security"
pankso@4074 6 SHORT_DESC="C++ class library of cryptographic schemes."
erjo@5122 7 MAINTAINER="pankso@slitaz.org"
pankso@4074 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4074 9 WEB_SITE="http://www.cryptopp.com/"
pankso@4074 10 WGET_URL="http://mirror.slitaz.org/sources/packages/c/$TARBALL"
pankso@4074 11
pankso@4074 12 # Rules to configure and make the package.
pankso@4074 13 compile_rules()
pankso@4074 14 {
pankso@4074 15 cd $src
pankso@4074 16 make &&
pankso@4074 17 make PREFIX=$PWD/_pkg/usr install
pankso@4074 18 }
pankso@4074 19
pankso@4074 20 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4074 21 genpkg_rules()
pankso@4074 22 {
pankso@4074 23 mkdir -p $fs/usr/share/doc/$PACKAGE
pankso@4074 24 cp -a $_pkg/usr/lib $fs/usr
pankso@4074 25 cp -a $_pkg/usr/include $fs/usr
pankso@4074 26 cp $src/License.txt $fs/usr/share/doc/$PACKAGE
pankso@4074 27 cp $src/Readme.txt $fs/usr/share/doc/$PACKAGE
pankso@4074 28 }