SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "matchbox-window-manager"

# SliTaz package receipt.

PACKAGE="matchbox-window-manager"
VERSION="1.2"
CATEGORY="x-window"
SHORT_DESC="Matchbox Window Manager."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://matchbox-project.org/"
WGET_URL="http://www.mucross.com/downloads/tonga-linux/sources/GPL/matchbox-wm/$TARBALL"
TAGS="window-manager"

DEPENDS="gtk+ startup-notification libmatchbox"
BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev expat-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure \
        --sysconfdir=/etc \
        --enable-expat \
        --enable-startup-notification \
        --enable-session \
        $CONFIGURE_ARGS &&
    make && make install
}

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