wok-6.x view dialog/receipt @ rev 23238

updated nginx-extras again (1.9.4 -> 1.16.0)
author Hans-G?nter Theisgen
date Wed Mar 25 08:38:30 2020 +0100 (2020-03-25)
parents 7b370185d392
children b4b3cde755b0
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="https://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 }