wok annotate dialog/receipt @ rev 24031

updated dialog (1.3_20190211 -> 1.3_20210324)
author Hans-G?nter Theisgen
date Tue Apr 06 13:52:57 2021 +0100 (2021-04-06)
parents cf397486d5e3
children 7e911016a644
rev   line source
pankso@35 1 # SliTaz package receipt.
pankso@35 2
pankso@35 3 PACKAGE="dialog"
Hans-G?nter@24031 4 VERSION="1.3_20210324"
pankso@211 5 CATEGORY="base-system"
pankso@35 6 SHORT_DESC="Script-interpreter which provides a set of curses widgets."
pankso@35 7 MAINTAINER="pankso@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
Hans-G?nter@24031 9 WEB_SITE="https://invisible-island.net/dialog/"
Hans-G?nter@20826 10
pascal@1482 11 TARBALL="$PACKAGE-$VERSION.tgz"
Hans-G?nter@24031 12 WGET_URL="https://invisible-mirror.net/archives/$PACKAGE/$PACKAGE-${VERSION/_/-}.tgz"
pankso@12840 13
pankso@12840 14 DEPENDS="ncursesw"
pankso@12840 15 BUILD_DEPENDS="ncursesw-dev"
Hans-G?nter@24031 16
Hans-G?nter@20826 17 HOST_ARCH="i486 arm"
pankso@35 18
pankso@35 19 # Rules to configure and make the package.
pankso@35 20 compile_rules()
pankso@35 21 {
Hans-G?nter@24031 22 ./configure \
Hans-G?nter@24031 23 --prefix=/usr \
Hans-G?nter@24031 24 --sysconfdir=/etc \
Hans-G?nter@24031 25 --mandir=/usr/share/man \
Hans-G?nter@24031 26 --with-ncursesw \
Hans-G?nter@24031 27 --enable-nls \
Hans-G?nter@24031 28 --enable-widec \
pankso@4895 29 $CONFIGURE_ARGS &&
Hans-G?nter@20826 30 make &&
Hans-G?nter@20826 31 make DESTDIR=$DESTDIR install
pankso@35 32 }
pankso@35 33
pankso@35 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@35 35 genpkg_rules()
pankso@35 36 {
Hans-G?nter@24031 37 mkdir -p $fs/usr
Hans-G?nter@24031 38 mkdir -p $fs/etc
Hans-G?nter@20826 39
Hans-G?nter@24031 40 cp -a $install/usr/bin $fs/usr
Hans-G?nter@24031 41
Hans-G?nter@24031 42 # Configuration file.
Hans-G?nter@24031 43 cp $stuff/dialogrc $fs/etc
Hans-G?nter@20826 44
Hans-G?nter@20826 45 # Localisations:
Hans-G?nter@24031 46 for lang in da de fr id it pt_BR ro ru
Hans-G?nter@24031 47 do
Hans-G?nter@20826 48 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
Hans-G?nter@20826 49 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/dialog.mo \
Hans-G?nter@20826 50 $fs/usr/share/locale/$lang/LC_MESSAGES/dialog.mo
Hans-G?nter@24031 51 done
pankso@35 52 }