wok-current view dialog/receipt @ rev 24885

updated mcabber (0.9.10 -> 1.1.2)
author Hans-G?nter Theisgen
date Fri Apr 01 07:52:41 2022 +0100 (2022-04-01)
parents 73cd26fd8ff2
children 5926178cd6fa
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed '/dialog-/!d;/gz"/!d;s|.*dialog-||;s|.t.*||;s|-|_|' | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 --mandir=/usr/share/man \
33 --with-ncursesw \
34 --enable-nls \
35 --enable-widec \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install DESTDIR=$DESTDIR
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
45 mkdir -p $fs/etc
47 cp -a $install/usr/bin $fs/usr
49 # Config file.
50 cp $stuff/dialogrc $fs/etc
52 # Localisations:
53 # Must these files remain in the base package
54 # or can they be split off in dialog-lang?
55 for lang in da de fr id it pt_BR ro ru
56 do
57 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
58 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/dialog.mo \
59 $fs/usr/share/locale/$lang/LC_MESSAGES/dialog.mo
60 done
61 }