wok view dialog/receipt @ rev 24330
updated atftp and atftpd (0.7.2 -> 0.7.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 15:48:06 2022 +0100 (2022-01-27) |
parents | b4b3cde755b0 |
children | fb22330086d8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dialog"
4 VERSION="1.3_20210324"
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.*||' | 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 DESTDIR=$DESTDIR install
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 # Configuration file.
49 cp $stuff/dialogrc $fs/etc
51 # Localisations:
52 for lang in da de fr id it pt_BR ro ru
53 do
54 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
55 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/dialog.mo \
56 $fs/usr/share/locale/$lang/LC_MESSAGES/dialog.mo
57 done
58 }