wok-next view superswitcher/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
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="devel@slitaz.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=$install install
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="gtk2 libwnck2 gconf"
37 }