wok-next view dialog/receipt @ rev 20146
Up qemu-light (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 11:50:08 2017 +0100 (2017-11-01) |
parents | 18c4d15a72df |
children | 0e7893ac206d |
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tgz"
13 WGET_URL="ftp://ftp.invisible-island.net/dialog/$TARBALL"
15 BUILD_DEPENDS="ncurses-dev gettext"
16 SPLIT="dialog-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --with-ncursesw \
25 --enable-nls \
26 --enable-widec \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
30 # Config file.
31 mkdir -p $install/etc
32 cp $stuff/dialogrc $install/etc
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 case $PACKAGE in
39 dialog)
40 copy @std
41 DEPENDS="ncurses"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }