wok-next view superswitcher/receipt @ rev 20956
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Sep 05 00:08:37 2018 +0300 (2018-09-05) |
parents | 8e1b2a143eb3 |
children | f48456621a9d |
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 gtk+-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="gtk+ libwnck2 gconf"
37 }