SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libsecret"

# SliTaz package receipt.

PACKAGE="libsecret"
VERSION="0.20.4"
SERIES="${VERSION%.*}"    # first two numbers from version
SHORT_DESC="GObject based library for accessing the Secret Service API"
MAINTAINER="devl547@gmail.com"
LICENSE="LGPL2.1"
CATEGORY="security"
WEB_SITE="https://gnome.org/"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="$GNOME_MIRROR/$PACKAGE/$SERIES/$TARBALL"
HOST_ARCH="i486 arm"

DEPENDS="libgio libgpg-error"
BUILD_DEPENDS="libgcrypt-dev gobject-introspection-dev vala"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure \
        --enable-introspection \
        --disable-manpages \
        $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib/*.so* $fs/usr/lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)