wok-next annotate superswitcher/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | d2950281f122 |
children | d5aab818505e |
rev | line source |
---|---|
al@20956 | 1 # SliTaz package receipt v2. |
mallory@3177 | 2 |
mallory@3177 | 3 PACKAGE="superswitcher" |
mallory@3177 | 4 VERSION="0.6" |
mallory@3177 | 5 CATEGORY="x-window" |
mallory@3177 | 6 SHORT_DESC="Replacement for the Alt-Tab window switching behavior" |
mallory@3177 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20956 | 9 WEB_SITE="https://code.google.com/archive/p/superswitcher/" |
al@20956 | 10 |
mallory@3177 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@3177 | 12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
mallory@3177 | 13 |
al@21017 | 14 BUILD_DEPENDS="perl-xml-parser intltool glib-dev gtk2-dev libwnck2-dev \ |
pascal@20379 | 15 xorg-libXcomposite-dev xorg-libXrender-dev autoconf automake" |
pascal@15000 | 16 |
al@20956 | 17 compile_rules() { |
pascal@12677 | 18 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' |
gokhlayeh@8683 | 19 |
pascal@9320 | 20 sed -i '/-DG.*_DISABLE_DEPRECATED/d;s/@WARN_CFLAGS@//' src/Makefile.am |
gokhlayeh@8683 | 21 aclocal |
gokhlayeh@8683 | 22 autoconf |
gokhlayeh@8683 | 23 automake --add-missing |
pascal@9320 | 24 sed -i '/GNOME_COMPILE_WARNINGS/d' configure |
mallory@3177 | 25 ./configure \ |
mallory@3177 | 26 --prefix=/usr \ |
mallory@3177 | 27 --infodir=/usr/share/info \ |
mallory@3177 | 28 --mandir=/usr/share/man \ |
mallory@3177 | 29 $CONFIGURE_ARGS && |
al@20956 | 30 make && |
al@20956 | 31 make DESTDIR=$DESTDIR install |
mallory@3177 | 32 } |
mallory@3177 | 33 |
al@20956 | 34 genpkg_rules() { |
al@20956 | 35 copy @std |
al@21017 | 36 DEPENDS="gtk2 libwnck2 gconf" |
mallory@3177 | 37 } |