SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gnome-keyring"

# SliTaz package receipt.

PACKAGE="gnome-keyring"
VERSION="40.0"
CATEGORY="x-window"
SHORT_DESC="A program that keep password and other secrets for users."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.xz"
WEB_SITE="https://www.gnome.org"
WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="libgcrypt libtasn1 python dbus gtk+3"
BUILD_DEPENDS="libgcrypt-dev libtasn1-dev python-dev dbus-dev intltool file \
gtk+3-dev gcr-dev p11-kit-dev openssh docbook-xsl"

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 \
        --libdir=/usr/lib \
        --libexecdir=/usr/lib/$PACKAGE \
        --sysconfdir=/etc/gnome \
        --disable-debug \
        --disable-pam &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/$PACKAGE/devel $fs/usr/lib/pkcs11 $fs/usr/share
    cp -a $install/etc $fs
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib/$PACKAGE/devel/*.so* $fs/usr/lib/$PACKAGE/devel
    cp -a $install/usr/lib/pkcs11/*.so* $fs/usr/lib/pkcs11
    for i in dbus-1 GConf glib-2.0
    do
        cp -a $install/usr/share/$i $fs/usr/share
    done
    
    # Remove devel files.
    find $fs/usr/lib -name *.*a -exec rm -f {} \;    
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)