# SliTaz package receipt.

PACKAGE="cryptopp"
VERSION="5.6.0"
CATEGORY="security"
SHORT_DESC="C++ class library of cryptographic schemes."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.cryptopp.com/"
WGET_URL="http://mirror.slitaz.org/sources/packages/c/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	make &&
	make PREFIX=$PWD/_pkg/usr install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/share/doc/$PACKAGE
	cp -a $_pkg/usr/lib $fs/usr
	cp -a $_pkg/usr/include $fs/usr
	cp $src/License.txt $fs/usr/share/doc/$PACKAGE
	cp $src/Readme.txt $fs/usr/share/doc/$PACKAGE
}