wok view superswitcher/receipt @ rev 12324

wxWidgets: Update depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 19 07:54:51 2012 +0000 (2012-04-19)
parents b29bb6413b0a
children 1d15f6f1d757
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 '/-DG.*_DISABLE_DEPRECATED/d;s/@WARN_CFLAGS@//' src/Makefile.am
22 aclocal
23 autoconf
24 automake --add-missing
25 sed -i '/GNOME_COMPILE_WARNINGS/d' configure
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 }