# SliTaz package receipt. PACKAGE="libgcrypt" VERSION="1.4.6" CATEGORY="security" SHORT_DESC="Cryptographic library based on GnuPG" MAINTAINER="erjo@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.gnupg.org/" WGET_URL="ftp://ftp.gnupg.org/gcrypt/libgcrypt/$TARBALL" CROSS="bug" DEPENDS="libgpg-error" BUILD_DEPENDS="libgpg-error-dev" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --build=$HOST_SYSTEM \ --host=$HOST_SYSTEM && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin $fs/usr/lib cp -a $_pkg/usr/bin/dumpsexp $fs/usr/bin cp -a $_pkg/usr/lib/*.so* $fs/usr/lib }