wok-current annotate dialog/receipt @ rev 21113
updated libatasmart and libatasmart-dev (0.18 -> 0.19)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 19 16:45:57 2019 +0100 (2019-03-19) |
parents | 7b370185d392 |
children | b4b3cde755b0 |
rev | line source |
---|---|
pankso@35 | 1 # SliTaz package receipt. |
pankso@35 | 2 |
pankso@35 | 3 PACKAGE="dialog" |
Hans-G?nter@20826 | 4 VERSION="1.3_20190211" |
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@20826 | 9 |
pascal@1482 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@20669 | 11 WEB_SITE="https://invisible-island.net/dialog/" |
pankso@12840 | 12 |
Hans-G?nter@20827 | 13 WGET_URL="https://invisible-mirror.net/archives/$PACKAGE/$PACKAGE-${VERSION/_/-}.tgz" |
pankso@12840 | 14 DEPENDS="ncursesw" |
pankso@12840 | 15 BUILD_DEPENDS="ncursesw-dev" |
Hans-G?nter@20826 | 16 HOST_ARCH="i486 arm" |
pankso@35 | 17 |
pankso@35 | 18 # Rules to configure and make the package. |
pankso@35 | 19 compile_rules() |
pankso@35 | 20 { |
pankso@4895 | 21 ./configure \ |
pankso@4895 | 22 --prefix=/usr \ |
pankso@4895 | 23 --sysconfdir=/etc \ |
pankso@4895 | 24 --mandir=/usr/share/man \ |
pankso@4895 | 25 --with-ncursesw \ |
al@16546 | 26 --enable-nls \ |
pankso@4895 | 27 --enable-widec \ |
pankso@4895 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@20826 | 29 make && |
Hans-G?nter@20826 | 30 make DESTDIR=$DESTDIR install |
pankso@35 | 31 } |
pankso@35 | 32 |
pankso@35 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@35 | 34 genpkg_rules() |
pankso@35 | 35 { |
pankso@4895 | 36 mkdir -p $fs/usr $fs/etc |
pankso@12840 | 37 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@20826 | 38 |
pankso@35 | 39 # Config file. |
slaxemulator@11097 | 40 cp $stuff/dialogrc $fs/etc |
Hans-G?nter@20826 | 41 |
Hans-G?nter@20826 | 42 # Localisations: |
Hans-G?nter@20826 | 43 for lang in da de fr id it pt_BR ro ru; do |
Hans-G?nter@20826 | 44 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES |
Hans-G?nter@20826 | 45 cp -a $install/usr/share/locale/$lang/LC_MESSAGES/dialog.mo \ |
Hans-G?nter@20826 | 46 $fs/usr/share/locale/$lang/LC_MESSAGES/dialog.mo |
Hans-G?nter@20826 | 47 done |
pankso@35 | 48 } |