wok-stable view dialog/receipt @ rev 6776

Up: tazpkg (4.0) New functions, improvmend and fully gettextized
author Christophe Lincoln <pankso@slitaz.org>
date Mon Oct 18 21:46:16 2010 +0200 (2010-10-18)
parents 7ab0fdcc255d
children 15ae0a387b69
line source
1 # SliTaz package receipt.
3 PACKAGE="dialog"
4 VERSION="1.1-20100428"
5 CATEGORY="base-system"
6 SHORT_DESC="Script-interpreter which provides a set of curses widgets."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="ncursesw"
9 BUILD_DEPENDS="ncursesw-dev"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WEB_SITE="http://invisible-island.net/$PACKAGE/"
12 WGET_URL="ftp://invisible-island.net/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 --with-ncursesw \
23 --enable-widec \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr $fs/etc
33 cp -a $_pkg/usr/bin $fs/usr
34 # Config file.
35 cp stuff/dialogrc $fs/etc
36 }