wok-next view dialog/receipt @ rev 20566

linld, screenfetch: create $install tree (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:30:46 2018 +0200 (2018-04-10)
parents 0e7893ac206d
children 68405ac5fe8a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="dialog"
4 VERSION="1.3-20170509"
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="http://invisible-island.net/dialog/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="ftp://ftp.invisible-island.net/dialog/$TARBALL"
14 BUILD_DEPENDS="ncurses-dev gettext"
15 SPLIT="dialog-dev"
17 compile_rules() {
18 ./configure \
19 --with-ncursesw \
20 --enable-nls \
21 --enable-widec \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install || return 1
26 # Config file.
27 install -Dm644 $stuff/dialogrc $install/etc/dialogrc
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 dialog)
33 copy @std
34 DEPENDS="ncurses"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }