wok-current view superswitcher/receipt @ rev 25124
updated apache-mod-perl (2.0.8 -> 2.0.11)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:23:55 2022 +0100 (2022-06-28) |
parents | 34e801e0eb52 |
children |
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="https://github.com/nigeltao/superswitcher"
11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+ libwnck GConf"
14 BUILD_DEPENDS="perl-xml-parser intltool glib-dev gtk+-dev libwnck-dev \
15 autoconf automake"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://raw.githubusercontent.com/nigeltao/superswitcher/master/ChangeLog 2>/dev/null | \
21 sed '1!d;s| .*||;s|-||g'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
30 # Fix from Gentoo: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-misc/superswitcher/superswitcher-0.6.ebuild
31 patch -p1 < $stuff/superswitcher-0.6-wnck-workspace.patch
32 sed -i '/-DG.*_DISABLE_DEPRECATED/d;s/@WARN_CFLAGS@//' src/Makefile.am
33 aclocal
34 autoconf
35 automake --add-missing
36 sed -i '/GNOME_COMPILE_WARNINGS/d' configure
37 ./configure \
38 --prefix=/usr \
39 --infodir=/usr/share/info \
40 --mandir=/usr/share/man \
41 $CONFIGURE_ARGS &&
42 make && make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr
49 cp -a $install/usr/bin $fs/usr
50 }