wok-next annotate superswitcher/receipt @ rev 21157
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 04 11:54:13 2019 +0100 (2019-02-04) |
parents | 5669e8b3be70 |
children |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@21157 | 9 WEB_SITE="https://github.com/nigeltao/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 \ |
al@21078 | 15 libxcomposite-dev 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@21020 | 31 make DESTDIR=$install 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 } |