wok-next diff superswitcher/receipt @ rev 21013
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 14 05:29:23 2018 +0300 (2018-10-14) |
parents | 8e1b2a143eb3 |
children | f48456621a9d |
line diff
1.1 --- a/superswitcher/receipt Sat Sep 01 16:21:51 2018 +0300 1.2 +++ b/superswitcher/receipt Sun Oct 14 05:29:23 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="superswitcher" 1.8 VERSION="0.6" 1.9 @@ -6,17 +6,15 @@ 1.10 SHORT_DESC="Replacement for the Alt-Tab window switching behavior" 1.11 MAINTAINER="mallory@sweetpeople.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="https://code.google.com/archive/p/superswitcher/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="https://code.google.com/archive/p/superswitcher/" 1.17 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" 1.18 1.19 -DEPENDS="gtk+ libwnck2 GConf" 1.20 BUILD_DEPENDS="perl-xml-parser intltool glib-dev gtk+-dev libwnck2-dev \ 1.21 xorg-libXcomposite-dev xorg-libXrender-dev autoconf automake" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 +compile_rules() { 1.27 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' 1.28 1.29 sed -i '/-DG.*_DISABLE_DEPRECATED/d;s/@WARN_CFLAGS@//' src/Makefile.am 1.30 @@ -29,12 +27,11 @@ 1.31 --infodir=/usr/share/info \ 1.32 --mandir=/usr/share/man \ 1.33 $CONFIGURE_ARGS && 1.34 - make && make DESTDIR=$DESTDIR install 1.35 + make && 1.36 + make DESTDIR=$DESTDIR install 1.37 } 1.38 1.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 -genpkg_rules() 1.41 -{ 1.42 - mkdir -p $fs/usr 1.43 - cp -a $install/usr/bin $fs/usr 1.44 +genpkg_rules() { 1.45 + copy @std 1.46 + DEPENDS="gtk+ libwnck2 gconf" 1.47 }