wok-next view dialog/receipt @ rev 21036
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 06 14:32:27 2018 +0200 (2018-11-06) |
parents | d5aab818505e |
children | 7c5d038be95b |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="dialog"
4 VERSION="1.3-20181022"
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 }