# SliTaz package receipt.

PACKED_SIZE="28.0K"
UNPACKED_SIZE="116.0K"
PACKAGE="libgpg-error"
VERSION="1.10"
CATEGORY="security"
SHORT_DESC="Commons error messages for GnuPG."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.gnupg.org/related_software/libgpg-error/"
WGET_URL="ftp://ftp.gnupg.org/gcrypt/libgpg-error/$TARBALL"
HOST_ARCH="i486 arm"

DEPENDS=""

# Rules to configure and make the package.
compile_rules()
{
	touch src/extra-h.in
	./configure $CONFIGURE_ARGS &&
	make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
	
	cp -a $install/usr/bin/gpg-error $fs/usr/bin
	cp -a $install/usr/lib/*.so* $fs/usr/lib
	cp -a $install/usr/share/common-lisp $fs/usr/share
}

