SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libassuan"

# SliTaz package receipt.

PACKAGE="libassuan"
VERSION="2.5.5"
CATEGORY="security"
SHORT_DESC="IPC library used by some of the other GnuPG related packages."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://www.gnupg.org/related_software/libassuan/"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://www.gnupg.org/ftp/gcrypt/libassuan/$TARBALL"

DEPENDS="libgpg-error"
BUILD_DEPENDS="libgpg-error-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    # Integrity check: https://www.gnupg.org/download/integrity_check.html
    echo "ec4f67c0117ccd17007c748a392ded96dc1b1ae9  $SRC/$TARBALL" | sha1sum -c || exit 1

    ./configure $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    *.so*
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)