wok-next view superswitcher/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents d2950281f122
children d5aab818505e
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://code.google.com/archive/p/superswitcher/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
14 BUILD_DEPENDS="perl-xml-parser intltool glib-dev gtk2-dev libwnck2-dev \
15 xorg-libXcomposite-dev xorg-libXrender-dev autoconf automake"
17 compile_rules() {
18 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
20 sed -i '/-DG.*_DISABLE_DEPRECATED/d;s/@WARN_CFLAGS@//' src/Makefile.am
21 aclocal
22 autoconf
23 automake --add-missing
24 sed -i '/GNOME_COMPILE_WARNINGS/d' configure
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="gtk2 libwnck2 gconf"
37 }