SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "lxpolkit"

# SliTaz package receipt.

PACKAGE="lxpolkit"
VERSION="0.1.0"
CATEGORY="x-window"
SHORT_DESC="LXDE PolicyKit authentication agent"
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/lxde/LXPolkit/$TARBALL"
WEB_SITE="https://blog.lxde.org/?p=674"
TAGS="LXDE"

DEPENDS="gtk+ polkit"
BUILD_DEPENDS="gtk+-dev polkit-dev"

current_version()
{
    wget -O - https://sourceforge.net/projects/lxde/files/LXPolkit/ 2>/dev/null | \
    sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
}

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share
    cp -a $install/etc $fs
    cp -a $install/usr/lib $fs/usr
    cp -a $install/usr/share/$PACKAGE $fs/usr/share
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)