# SliTaz package receipt.

PACKAGE="libassuan"
VERSION="2.0.2"
CATEGORY="security"
SHORT_DESC="IPC library used by some of the other GnuPG related packages."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.gnupg.org/"
WGET_URL="ftp://ftp.gnupg.org/gcrypt/$PACKAGE/$TARBALL"

DEPENDS="libgpg-error"
BUILD_DEPENDS="python pkg-config libgpg-error-dev"	# do not skip /usr/lib/libassuan-pth.a

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure $CONFIGURE_ARGS && make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}