SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "superswitcher"

# SliTaz package receipt.

PACKAGE="superswitcher"
VERSION="0.6"
CATEGORY="x-window"
SHORT_DESC="Replacement for the Alt-Tab window switching behavior"
MAINTAINER="mallory@sweetpeople.org"
DEPENDS="gtk+ libwnck GConf"
BUILD_DEPENDS="perl-xml-parser intltool glib-dev gtk+-dev libwnck-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://code.google.com/p/superswitcher/"
WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src

    # Fix from Gentoo: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-misc/superswitcher/superswitcher-0.6.ebuild
    patch -p1 < $stuff/superswitcher-0.6-wnck-workspace.patch
    sed -i '/-DG.*_DISABLE_DEPRECATED/d;s/@WARN_CFLAGS@//' src/Makefile.am 
    aclocal
    autoconf
    automake --add-missing
    sed -i '/GNOME_COMPILE_WARNINGS/d' configure
    ./configure \
        --prefix=/usr \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        $CONFIGURE_ARGS &&
    make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $_pkg/usr/bin $fs/usr
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)