wok view superswitcher/receipt @ rev 15117

lorcon: create .depend
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 21:36:18 2013 +0000 (2013-08-14)
parents 1d15f6f1d757
children b67414949731
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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
22 # Fix from Gentoo: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-misc/superswitcher/superswitcher-0.6.ebuild
23 patch -p1 < $stuff/superswitcher-0.6-wnck-workspace.patch
24 sed -i '/-DG.*_DISABLE_DEPRECATED/d;s/@WARN_CFLAGS@//' src/Makefile.am
25 aclocal
26 autoconf
27 automake --add-missing
28 sed -i '/GNOME_COMPILE_WARNINGS/d' configure
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }