Gentoo Archives: gentoo-commits

From: "Harald van Dijk (truedfx)" <truedfx@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/dialog: ChangeLog dialog-1.1.20080819.ebuild
Date: Tue, 09 Sep 2008 16:37:05
Message-Id: E1Kd6D9-0003XH-6t@stork.gentoo.org
1 truedfx 08/09/09 16:37:03
2
3 Modified: ChangeLog
4 Added: dialog-1.1.20080819.ebuild
5 Log:
6 Version bump (#237149)
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 x86_64)
8
9 Revision Changes Path
10 1.114 dev-util/dialog/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/dialog/ChangeLog?rev=1.114&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/dialog/ChangeLog?rev=1.114&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/dialog/ChangeLog?r1=1.113&r2=1.114
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v
19 retrieving revision 1.113
20 retrieving revision 1.114
21 diff -u -r1.113 -r1.114
22 --- ChangeLog 18 Aug 2008 21:03:52 -0000 1.113
23 +++ ChangeLog 9 Sep 2008 16:37:02 -0000 1.114
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-util/dialog
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.113 2008/08/18 21:03:52 truedfx Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.114 2008/09/09 16:37:02 truedfx Exp $
29 +
30 +*dialog-1.1.20080819 (09 Sep 2008)
31 +
32 + 09 Sep 2008; Harald van Dijk <truedfx@g.o>
33 + +dialog-1.1.20080819.ebuild:
34 + Version bump (#237149)
35
36 *dialog-1.1.20080727 (18 Aug 2008)
37
38
39
40
41 1.1 dev-util/dialog/dialog-1.1.20080819.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/dialog/dialog-1.1.20080819.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/dialog/dialog-1.1.20080819.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dialog-1.1.20080819.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/dialog-1.1.20080819.ebuild,v 1.1 2008/09/09 16:37:02 truedfx Exp $
51
52 inherit eutils
53
54 MY_PV="${PV/1.1./1.1-}"
55 S=${WORKDIR}/${PN}-${MY_PV}
56 DESCRIPTION="tool to display dialog boxes from a shell"
57 HOMEPAGE="http://invisible-island.net/dialog/dialog.html"
58 SRC_URI="ftp://invisible-island.net/${PN}/${PN}-${MY_PV}.tgz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
63 IUSE="examples nls unicode"
64
65 RDEPEND=">=app-shells/bash-2.04-r3
66 >=sys-libs/ncurses-5.2-r5"
67 DEPEND="${RDEPEND}
68 nls? ( sys-devel/gettext )"
69
70 pkg_setup() {
71 if use unicode && ! built_with_use sys-libs/ncurses unicode; then
72 eerror "Installing dialog with the unicode flag requires ncurses be"
73 eerror "built with it as well. Please make sure your /etc/make.conf"
74 eerror "or /etc/portage/package.use enables it, and re-install"
75 eerror "ncurses with \`emerge --oneshot sys-libs/ncurses\`."
76 die "Re-emerge ncurses with the unicode flag"
77 fi
78 }
79
80 src_compile() {
81 use unicode && ncursesw="w"
82 econf $(use_enable nls) \
83 "--with-ncurses${ncursesw}" || die "configure failed"
84 emake || die "build failed"
85 }
86
87 src_install() {
88 emake install DESTDIR="${D}" || die
89 dodoc CHANGES README VERSION
90
91 if use examples; then
92 docinto samples
93 dodoc samples/*
94 fi
95 }