SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "p11-kit"

# SliTaz package receipt.

PACKAGE="p11-kit"
VERSION="0.24.1"
CATEGORY="security"
SHORT_DESC="Library to work with PKCS#11 modules."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="BSD"
WEB_SITE="https://p11-glue.freedesktop.org/"
LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/p11-kit.html"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://github.com/p11-glue/p11-kit/releases/download/$VERSION/$TARBALL"

BUILD_DEPENDS="cacerts gettext glib glib-dev gtk-doc libffi libffi-dev
    libtasn1-dev libxslt"

current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                    \
        --sysconfdir=/etc            \
        --with-module-path=/usr/lib/pkcs11    \
        $CONFIGURE_ARGS && 
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    etc
    cook_copy_files        *.so*
}
6047 packages and 207212 files in current database (Tue Jun 25 15:15:29 2024)