wok-next view superswitcher/receipt @ rev 19863

Up eudev, make-slitaz-icons, ntfs-3g, pcmanfm, polkit, slitaz-base-files, slitaz-boot-scripts, slitaz-icons-paper.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 12 01:34:11 2017 +0300 (2017-09-12)
parents 380ffe05937a
children 518c632316b9
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 }