wok-next view superswitcher/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | d5aab818505e |
children | 69bb65a67c90 |
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 libxcomposite-dev 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 }