wok view dialog/receipt @ rev 597

Add localedef and change the way locale is set (all done by tazlocale or locale-pack)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 17 17:32:21 2008 +0200 (2008-04-17)
parents cf22fee17710
children 509971350c3b
line source
1 # SliTaz package receipt.
3 PACKAGE="dialog"
4 VERSION="1.1-20071028"
5 CATEGORY="base-system"
6 SHORT_DESC="Script-interpreter which provides a set of curses widgets."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="ncurses"
9 TARBALL="$PACKAGE.tar.gz"
10 WEB_SITE="http://invisible-island.net/dialog/"
11 WGET_URL="ftp://invisible-island.net/dialog/dialog.tar.gz"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --enable-nls --prefix=/usr \
18 --sysconfdir=/etc --mandir=/usr/share/man \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale $fs/etc
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
30 strip -s $fs/usr/bin/*
31 # Config file.
32 cp stuff/dialogrc $fs/etc
33 }