wok-current annotate superswitcher/receipt @ rev 15432
Up: eina (1.7.9)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:57:26 2013 +0100 (2013-11-05) |
parents | 1d15f6f1d757 |
children | b67414949731 |
rev | line source |
---|---|
mallory@3177 | 1 # SliTaz package receipt. |
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" |
mallory@3177 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@3177 | 10 WEB_SITE="http://code.google.com/p/superswitcher/" |
mallory@3177 | 11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
mallory@3177 | 12 |
pascal@15000 | 13 DEPENDS="gtk+ libwnck GConf" |
pascal@15000 | 14 BUILD_DEPENDS="perl-xml-parser intltool glib-dev gtk+-dev libwnck-dev" |
pascal@15000 | 15 |
mallory@3177 | 16 # Rules to configure and make the package. |
mallory@3177 | 17 compile_rules() |
mallory@3177 | 18 { |
mallory@3177 | 19 cd $src |
pascal@12677 | 20 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' |
gokhlayeh@8683 | 21 |
gokhlayeh@8683 | 22 # Fix from Gentoo: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-misc/superswitcher/superswitcher-0.6.ebuild |
gokhlayeh@8683 | 23 patch -p1 < $stuff/superswitcher-0.6-wnck-workspace.patch |
pascal@9320 | 24 sed -i '/-DG.*_DISABLE_DEPRECATED/d;s/@WARN_CFLAGS@//' src/Makefile.am |
gokhlayeh@8683 | 25 aclocal |
gokhlayeh@8683 | 26 autoconf |
gokhlayeh@8683 | 27 automake --add-missing |
pascal@9320 | 28 sed -i '/GNOME_COMPILE_WARNINGS/d' configure |
mallory@3177 | 29 ./configure \ |
mallory@3177 | 30 --prefix=/usr \ |
mallory@3177 | 31 --infodir=/usr/share/info \ |
mallory@3177 | 32 --mandir=/usr/share/man \ |
mallory@3177 | 33 $CONFIGURE_ARGS && |
pascal@15000 | 34 make && make DESTDIR=$DESTDIR install |
mallory@3177 | 35 } |
mallory@3177 | 36 |
mallory@3177 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3177 | 38 genpkg_rules() |
mallory@3177 | 39 { |
mallory@3177 | 40 mkdir -p $fs/usr |
pascal@15000 | 41 cp -a $install/usr/bin $fs/usr |
mallory@3177 | 42 } |
mallory@3177 | 43 |