wok-current view dialog/receipt @ rev 24036
created recipe for autoconf-archive 2021.02.19)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 11 16:42:15 2021 +0100 (2021-04-11) |
parents | cf397486d5e3 |
children | 7e911016a644 |
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --with-ncursesw \
27 --enable-nls \
28 --enable-widec \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 mkdir -p $fs/etc
40 cp -a $install/usr/bin $fs/usr
42 # Configuration file.
43 cp $stuff/dialogrc $fs/etc
45 # Localisations:
46 for lang in da de fr id it pt_BR ro ru
47 do
48 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
49 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/dialog.mo \
50 $fs/usr/share/locale/$lang/LC_MESSAGES/dialog.mo
51 done
52 }