wok-next view superswitcher/receipt @ rev 20736

netatalk-dev: update depends
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 20:07:48 2018 +0300 (2018-05-29)
parents 111038df4ab1
children 8e1b2a143eb3
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+ libwnck2 GConf"
14 BUILD_DEPENDS="perl-xml-parser intltool glib-dev gtk+-dev libwnck2-dev \
15 xorg-libXcomposite-dev xorg-libXrender-dev autoconf automake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
22 sed -i '/-DG.*_DISABLE_DEPRECATED/d;s/@WARN_CFLAGS@//' src/Makefile.am
23 aclocal
24 autoconf
25 automake --add-missing
26 sed -i '/GNOME_COMPILE_WARNINGS/d' configure
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }