wok annotate superswitcher/receipt @ rev 8237

busybox: do not duplicate code
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 27 11:56:53 2011 +0100 (2011-01-27)
parents 3bd466cd6f45
children b29bb6413b0a
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
mallory@3177 18 ./configure \
mallory@3177 19 --prefix=/usr \
mallory@3177 20 --infodir=/usr/share/info \
mallory@3177 21 --mandir=/usr/share/man \
mallory@3177 22 $CONFIGURE_ARGS &&
mallory@3177 23 make && make DESTDIR=$PWD/_pkg install
mallory@3177 24 }
mallory@3177 25
mallory@3177 26 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3177 27 genpkg_rules()
mallory@3177 28 {
mallory@3177 29 mkdir -p $fs/usr
mallory@3177 30 cp -a $_pkg/usr/bin $fs/usr
mallory@3177 31 }
mallory@3177 32