SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "garcon"

# SliTaz package receipt.

PACKAGE="garcon"
VERSION="0.4.0"
CATEGORY="misc"
SHORT_DESC="Xfce menu library"
MAINTAINER="erjo@slitaz.org"
LICENSE="LGPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://www.xfce.org"
WGET_URL="https://archive.xfce.org/src/xfce/garcon/${VERSION%.*}/$TARBALL"

DEPENDS="libgio glib gtk+ libxfce4ui libxfce4util util-linux-uuid startup-notification"
BUILD_DEPENDS="intltool libgio libgio-dev glib-dev libxfce4ui-dev libxfce4util-dev \
        util-linux-uuid-dev gtk+-dev startup-notification-dev xcb-util-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --infodir=/usr/share/info \
        --sysconfdir=/etc \
        --disable-login \
        --mandir=/usr/share/man \
        $CONFIGURE_ARGS &&
    make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr \
        $fs/usr/share \
        $fs/usr/lib
    
    cp -a $install/usr/lib/*.so* $fs/usr/lib
    cp -a $install/etc $fs/
    cp -a $install/usr/share/desktop* $fs/usr/share
}

6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)