wok annotate superswitcher/receipt @ rev 10426
gdbm: moved depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue May 24 13:53:15 2011 +0000 (2011-05-24) |
parents | b29bb6413b0a |
children | 1d15f6f1d757 |
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@5007 | 8 DEPENDS="gtk+ libwnck GConf" |
mallory@3177 | 9 BUILD_DEPENDS="perl-xml-parser intltool glib-dev gtk+-dev libwnck-dev" |
mallory@3177 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@3177 | 11 WEB_SITE="http://code.google.com/p/superswitcher/" |
mallory@3177 | 12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
mallory@3177 | 13 |
mallory@3177 | 14 # Rules to configure and make the package. |
mallory@3177 | 15 compile_rules() |
mallory@3177 | 16 { |
mallory@3177 | 17 cd $src |
gokhlayeh@8683 | 18 |
gokhlayeh@8683 | 19 # Fix from Gentoo: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-misc/superswitcher/superswitcher-0.6.ebuild |
gokhlayeh@8683 | 20 patch -p1 < $stuff/superswitcher-0.6-wnck-workspace.patch |
pascal@9320 | 21 sed -i '/-DG.*_DISABLE_DEPRECATED/d;s/@WARN_CFLAGS@//' src/Makefile.am |
gokhlayeh@8683 | 22 aclocal |
gokhlayeh@8683 | 23 autoconf |
gokhlayeh@8683 | 24 automake --add-missing |
pascal@9320 | 25 sed -i '/GNOME_COMPILE_WARNINGS/d' configure |
mallory@3177 | 26 ./configure \ |
mallory@3177 | 27 --prefix=/usr \ |
mallory@3177 | 28 --infodir=/usr/share/info \ |
mallory@3177 | 29 --mandir=/usr/share/man \ |
mallory@3177 | 30 $CONFIGURE_ARGS && |
mallory@3177 | 31 make && make DESTDIR=$PWD/_pkg install |
mallory@3177 | 32 } |
mallory@3177 | 33 |
mallory@3177 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3177 | 35 genpkg_rules() |
mallory@3177 | 36 { |
mallory@3177 | 37 mkdir -p $fs/usr |
mallory@3177 | 38 cp -a $_pkg/usr/bin $fs/usr |
mallory@3177 | 39 } |
mallory@3177 | 40 |