wok-next view dialog/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 38cf0c75fa4c |
children | 757d032c55c7 |
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 --prefix=/usr \
20 --sysconfdir=/etc \
21 --with-ncursesw \
22 --enable-nls \
23 --enable-widec \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install || return 1
27 # Config file.
28 mkdir -p $install/etc
29 cp $stuff/dialogrc $install/etc
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 }