wok-next view dialog/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 68405ac5fe8a
children 8459b1de4897
line source
1 # SliTaz package receipt v2.
3 PACKAGE="dialog"
4 VERSION="1.3-20180621"
5 CATEGORY="base-system"
6 SHORT_DESC="Script-interpreter which provides a set of curses widgets"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://invisible-island.net/dialog/" # "HTTP/1.1 403 Forbidden" for wget
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="ftp://ftp.invisible-island.net/dialog/$TARBALL"
14 BUILD_DEPENDS="ncurses-dev gettext-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 ./configure \
19 --with-ncursesw \
20 --enable-nls \
21 --enable-widec \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$install install || return 1
26 # Config file.
27 install -Dm644 $stuff/dialogrc $install/etc/dialogrc
29 cook_pick_manpages dialog.3
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 dialog)
35 copy @std
36 DEPENDS="ncurses"
37 ;;
38 *-dev)
39 copy @dev
40 ;;
41 esac
42 }