wok-current view dialog/receipt @ rev 20826

updated dialog (1.3-20160424 -> 1.3_20190211)
author Hans-G?nter Theisgen
date Tue Feb 19 16:56:17 2019 +0100 (2019-02-19)
parents a78610b2eb47
children cf397486d5e3
line source
1 # SliTaz package receipt.
3 PACKAGE="dialog"
4 VERSION="1.3_20190211"
5 CATEGORY="base-system"
6 SHORT_DESC="Script-interpreter which provides a set of curses widgets."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WEB_SITE="https://invisible-island.net/dialog/"
13 WGET_URL="ftp://invisible-mirror.net/archives/$PACKAGE/$PACKAGE-${VERSION/_/-}.tgz"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="ncursesw-dev"
16 HOST_ARCH="i486 arm"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --mandir=/usr/share/man \
25 --with-ncursesw \
26 --enable-nls \
27 --enable-widec \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr $fs/etc
37 cp -a $install/usr/bin $fs/usr
39 # Config file.
40 cp $stuff/dialogrc $fs/etc
42 # Localisations:
43 for lang in da de fr id it pt_BR ro ru; do
44 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
45 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/dialog.mo \
46 $fs/usr/share/locale/$lang/LC_MESSAGES/dialog.mo
47 done
48 }