wok annotate dialog/receipt @ rev 2731
Add: wmctrl, xdotool
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Apr 24 07:36:51 2009 +0000 (2009-04-24) |
parents | 509971350c3b |
children | 7ab0fdcc255d |
rev | line source |
---|---|
pankso@35 | 1 # SliTaz package receipt. |
pankso@35 | 2 |
pankso@35 | 3 PACKAGE="dialog" |
pankso@220 | 4 VERSION="1.1-20071028" |
pankso@211 | 5 CATEGORY="base-system" |
pankso@35 | 6 SHORT_DESC="Script-interpreter which provides a set of curses widgets." |
pankso@35 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@35 | 8 DEPENDS="ncurses" |
pascal@1511 | 9 BUILD_DEPENDS="ncurses-dev" |
pascal@1482 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@1482 | 11 WEB_SITE="http://invisible-island.net/$PACKAGE/" |
pascal@1482 | 12 WGET_URL="ftp://invisible-island.net/$PACKAGE/$TARBALL" |
pankso@35 | 13 |
pankso@35 | 14 # Rules to configure and make the package. |
pankso@35 | 15 compile_rules() |
pankso@35 | 16 { |
pankso@35 | 17 cd $src |
pankso@35 | 18 ./configure --enable-nls --prefix=/usr \ |
pankso@35 | 19 --sysconfdir=/etc --mandir=/usr/share/man \ |
pascal@1482 | 20 $CONFIGURE_ARGS && |
pascal@1482 | 21 make && |
pankso@35 | 22 make DESTDIR=$PWD/_pkg install |
pankso@35 | 23 } |
pankso@35 | 24 |
pankso@35 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@35 | 26 genpkg_rules() |
pankso@35 | 27 { |
pankso@35 | 28 mkdir -p $fs/usr/share/locale $fs/etc |
pankso@35 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@35 | 30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@35 | 31 strip -s $fs/usr/bin/* |
pankso@35 | 32 # Config file. |
pankso@35 | 33 cp stuff/dialogrc $fs/etc |
pankso@35 | 34 } |