# SliTaz package receipt.

PACKAGE="gpgme"
VERSION="1.3.1"
CATEGORY="security"
SHORT_DESC="C language library that allows to add support for cryptography to a program."
MAINTAINER="erjo@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.gnupg.org/gpgme.html"
WGET_URL="ftp://ftp.gnupg.org/gcrypt/gpgme/$TARBALL"

DEPENDS="libgpg-error pth gnupg"
BUILD_DEPENDS="libgpg-error-dev pth-dev gnupg libassuan-dev"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr $CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$DESTDIR 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
}