# SliTaz package receipt.

PACKAGE="beecrypt"
VERSION="4.2.1"
CATEGORY="system-tools"
SHORT_DESC="Cryptography Library"
MAINTAINER="erjo@slitaz.org"
DEPENDS="gcc-lib-base"
BUILD_DEPENDS="python-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://beecrypt.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="cryptography toolkit"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr --without-cplusplus $CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	cp -a $_pkg/usr/lib $fs/usr
	# Deleting unnecessary file
	find $fs/ -name "*.*a" -exec rm -f {} \;
}