SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "matchbox-panel-2"

# SliTaz package receipt.

PACKAGE="matchbox-panel-2"
VERSION="2111"
CATEGORY="x-window"
SHORT_DESC="Matchbox panel v2."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://matchbox-project.org/"
#WGET_URL="svn|http://svn.o-hand.com/repos/matchbox/trunk/$PACKAGE"
WGET_URL="http://mirror.slitaz.org/sources/packages/${PACKAGE:0:1}/$TARBALL"
BRANCH="$VERSION"

DEPENDS="gtk+ dbus dbus-glib util-linux-uuid"
BUILD_DEPENDS="gtk+-dev dbus-dev dbus-glib-dev util-linux-uuid-dev subversion \
autoconf automake libtool"

# What is the latest version available today?
current_version()
{
    wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/$( \
    wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/ 2>/dev/null | \
    sed '/href="2/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
    sed '/href="matchbox-panel-[0-9]/!d;s|.*="matchbox-panel-||;s|.tar.*||' | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./autogen.sh \
        --disable-startup-notification \
        $CONFIGURE_ARGS &&
    make && make install
}

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