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.20071028.ebuild
Date: Wed, 07 Nov 2007 21:53:44
Message-Id: E1Ipsq9-0004LL-14@stork.gentoo.org
1 truedfx 07/11/07 21:53:37
2
3 Modified: ChangeLog
4 Added: dialog-1.1.20071028.ebuild
5 Log:
6 Version bump (bug #198351)
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.100 dev-util/dialog/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/dialog/ChangeLog?rev=1.100&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/dialog/ChangeLog?rev=1.100&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/dialog/ChangeLog?r1=1.99&r2=1.100
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v
19 retrieving revision 1.99
20 retrieving revision 1.100
21 diff -u -r1.99 -r1.100
22 --- ChangeLog 6 Nov 2007 15:16:33 -0000 1.99
23 +++ ChangeLog 7 Nov 2007 21:53:36 -0000 1.100
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-util/dialog
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.99 2007/11/06 15:16:33 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.100 2007/11/07 21:53:36 truedfx Exp $
29 +
30 +*dialog-1.1.20071028 (07 Nov 2007)
31 +
32 + 07 Nov 2007; Harald van Dijk <truedfx@g.o>
33 + +dialog-1.1.20071028.ebuild:
34 + Version bump (bug #198351)
35
36 06 Nov 2007; Jeroen Roovers <jer@g.o> dialog-1.1.20070704.ebuild:
37 Stable for HPPA (bug #193879).
38
39
40
41 1.1 dev-util/dialog/dialog-1.1.20071028.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/dialog/dialog-1.1.20071028.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/dialog/dialog-1.1.20071028.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dialog-1.1.20071028.ebuild
47 ===================================================================
48 # Copyright 1999-2007 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.20071028.ebuild,v 1.1 2007/11/07 21:53:36 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 }
96
97
98
99 --
100 gentoo-commits@g.o mailing list