wok-6.x view superswitcher/receipt @ rev 22628

updated dar (2.4.18 -> 2.6.7)
author Hans-G?nter Theisgen
date Mon Jan 13 07:45:07 2020 +0100 (2020-01-13)
parents 6135577f4d08
children 34e801e0eb52
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="https://github.com/nigeltao/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 }