wok-next annotate dialog/receipt @ rev 820
e17: want build without curl, so curl is in deps now
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 17 14:01:08 2008 +0200 (2008-05-17) |
parents | cf22fee17710 |
children | 509971350c3b |
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" |
pankso@35 | 9 TARBALL="$PACKAGE.tar.gz" |
pankso@35 | 10 WEB_SITE="http://invisible-island.net/dialog/" |
pankso@35 | 11 WGET_URL="ftp://invisible-island.net/dialog/dialog.tar.gz" |
pankso@35 | 12 |
pankso@35 | 13 # Rules to configure and make the package. |
pankso@35 | 14 compile_rules() |
pankso@35 | 15 { |
pankso@35 | 16 cd $src |
pankso@35 | 17 ./configure --enable-nls --prefix=/usr \ |
pankso@35 | 18 --sysconfdir=/etc --mandir=/usr/share/man \ |
pankso@35 | 19 $CONFIGURE_ARGS |
pankso@35 | 20 make |
pankso@35 | 21 make DESTDIR=$PWD/_pkg install |
pankso@35 | 22 } |
pankso@35 | 23 |
pankso@35 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@35 | 25 genpkg_rules() |
pankso@35 | 26 { |
pankso@35 | 27 mkdir -p $fs/usr/share/locale $fs/etc |
pankso@35 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@35 | 29 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@35 | 30 strip -s $fs/usr/bin/* |
pankso@35 | 31 # Config file. |
pankso@35 | 32 cp stuff/dialogrc $fs/etc |
pankso@35 | 33 } |