wok-current view superswitcher/receipt @ rev 17797

Add marco
author Yuri Pourre <yuripourre@gmail.com>
date Fri Mar 20 20:00:59 2015 -0300 (2015-03-20)
parents 380ffe05937a
children 6135577f4d08
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://code.google.com/p/superswitcher/"
11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
13 DEPENDS="gtk+ libwnck GConf"
14 BUILD_DEPENDS="perl-xml-parser intltool glib-dev gtk+-dev libwnck-dev \
15 autoconf automake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
23 # Fix from Gentoo: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-misc/superswitcher/superswitcher-0.6.ebuild
24 patch -p1 < $stuff/superswitcher-0.6-wnck-workspace.patch
25 sed -i '/-DG.*_DISABLE_DEPRECATED/d;s/@WARN_CFLAGS@//' src/Makefile.am
26 aclocal
27 autoconf
28 automake --add-missing
29 sed -i '/GNOME_COMPILE_WARNINGS/d' configure
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make && make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }