wok-stable view superswitcher/receipt @ rev 8974

[q-z]*: use veriable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 11:06:20 2011 +0100 (2011-03-02)
parents 4897058add72
children 66bf43586a94
line source
1 # SliTaz package receipt.
3 PACKAGE="superswitcher"
4 VERSION="0.6"
5 CATEGORY="x-window"
6 SHORT_DESC="Replacement for the Alt-Tab window switching behavior"
7 MAINTAINER="mallory@sweetpeople.org"
8 DEPENDS="gtk+ libwnck GConf"
9 BUILD_DEPENDS="perl-xml-parser intltool glib-dev gtk+-dev libwnck-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://code.google.com/p/superswitcher/"
12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 # Fix from Gentoo: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-misc/superswitcher/superswitcher-0.6.ebuild
20 patch -p1 < $stuff/superswitcher-0.6-wnck-workspace.patch
21 sed -i -e '/-DG.*_DISABLE_DEPRECATED/d' src/Makefile.am
22 aclocal
23 autoconf
24 automake --add-missing
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make && make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $_pkg/usr/bin $fs/usr
39 }