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

updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author Hans-G?nter Theisgen
date Fri Feb 18 10:50:23 2022 +0100 (2022-02-18)
parents fb22330086d8
children bc2b9d9bed6f
line source
1 # SliTaz package receipt.
3 PACKAGE="dialog"
4 VERSION="1.3_20220117"
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"
9 WEB_SITE="https://invisible-island.net/dialog/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="https://invisible-mirror.net/archives/$PACKAGE/$PACKAGE-${VERSION/_/-}.tgz"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="ncursesw-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - ftp://ftp.invisible-island.net/dialog/ 2>/dev/null | \
22 sed '/gz"/!d;s|.*dialog-||;s|.tgz.*||;s|-|_|' | sed '$!d'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --mandir=/usr/share/man \
32 --with-ncursesw \
33 --enable-nls \
34 --enable-widec \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install DESTDIR=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 mkdir -p $fs/etc
46 cp -a $install/usr/bin $fs/usr
48 # Config file.
49 cp $stuff/dialogrc $fs/etc
51 # Localisations:
52 # Must these files remain in the base package
53 # or can they be split off in dialog-lang?
54 for lang in da de fr id it pt_BR ro ru
55 do
56 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
57 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/dialog.mo \
58 $fs/usr/share/locale/$lang/LC_MESSAGES/dialog.mo
59 done
60 }