SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "dconf"

# SliTaz package receipt.

PACKAGE="dconf"
VERSION="0.13.0"
CATEGORY="system-tools"
SHORT_DESC="A low-level configuration system"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="LGPL2.1"
WEB_SITE="http://live.gnome.org/dconf"
TARBALL="$PACKAGE-$VERSION.tar.xz"
HI_VERSION=$(echo $VERSION | cut -d. -f1,2)
WGET_URL="$GNOME_MIRROR/$PACKAGE/$HI_VERSION/$TARBALL"

DEPENDS="dbus"
BUILD_DEPENDS="vala glib-dev dbus-dev gtk+3-dev libxml2-dev"
GENERIC_MENUS="no"
GENERIC_PIXMAPS="no"

current_version()
{
    wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE/ 2>/dev/null | \
    sed '/href="[0-9]/!d;s|.*href="\(.*\)/".*|\1|' | sort -Vr | sed q) 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 \
        --sysconfdir=/etc \
        --libexecdir=/usr/lib \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p \
        $fs/usr/bin \
        $fs/usr/lib \
        $fs/usr/share
    cp -a $install/usr/bin/dconf $fs/usr/bin
    cp -a $install/usr/lib/gio $fs/usr/lib
    cp -a $install/usr/lib/*.so* $fs/usr/lib
    cp -a $install/usr/lib/dconf-service $fs/usr/lib
    cp -a $install/usr/share/dbus* $fs/usr/share
    cp -a $install/usr/share/glib* $fs/usr/share
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)