Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/dialog: ChangeLog dialog-1.1.20111020.ebuild
Date: Tue, 27 Dec 2011 03:20:02
Message-Id: 20111227031951.8943D20033@flycatcher.gentoo.org
1 jer 11/12/27 03:19:51
2
3 Modified: ChangeLog
4 Added: dialog-1.1.20111020.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha83/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.140 dev-util/dialog/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/ChangeLog?rev=1.140&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/ChangeLog?rev=1.140&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/ChangeLog?r1=1.139&r2=1.140
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v
20 retrieving revision 1.139
21 retrieving revision 1.140
22 diff -u -r1.139 -r1.140
23 --- ChangeLog 10 Dec 2011 02:35:59 -0000 1.139
24 +++ ChangeLog 27 Dec 2011 03:19:51 -0000 1.140
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/dialog
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.139 2011/12/10 02:35:59 naota Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.140 2011/12/27 03:19:51 jer Exp $
30 +
31 +*dialog-1.1.20111020 (27 Dec 2011)
32 +
33 + 27 Dec 2011; Jeroen Roovers <jer@g.o> +dialog-1.1.20111020.ebuild:
34 + Version bump.
35
36 10 Dec 2011; Naohiro Aota <naota@g.o> dialog-1.1.20110707-r1.ebuild:
37 Does work with <FreeBSD-9; Add block. Bug #352455
38
39
40
41 1.1 dev-util/dialog/dialog-1.1.20111020.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/dialog-1.1.20111020.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/dialog-1.1.20111020.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dialog-1.1.20111020.ebuild
47 ===================================================================
48 # Copyright 1999-2011 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.20111020.ebuild,v 1.1 2011/12/27 03:19:51 jer Exp $
51
52 EAPI="2"
53
54 inherit multilib
55
56 MY_PV="${PV/1.1./1.1-}"
57 S=${WORKDIR}/${PN}-${MY_PV}
58 DESCRIPTION="tool to display dialog boxes from a shell"
59 HOMEPAGE="http://invisible-island.net/dialog/dialog.html"
60 SRC_URI="ftp://invisible-island.net/${PN}/${PN}-${MY_PV}.tgz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
65 IUSE="examples minimal nls static-libs unicode"
66
67 RDEPEND="
68 >=app-shells/bash-2.04-r3
69 !unicode? ( >=sys-libs/ncurses-5.2-r5 )
70 unicode? ( >=sys-libs/ncurses-5.2-r5[unicode] )
71 "
72 DEPEND="
73 ${RDEPEND}
74 nls? ( sys-devel/gettext )
75 !minimal? ( sys-devel/libtool )
76 !<=sys-freebsd/freebsd-contrib-8.9999
77 "
78
79 src_prepare() {
80 sed -i configure -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' || die
81 }
82
83 src_configure() {
84 local ncursesw
85 use unicode && ncursesw="w"
86 econf \
87 $(use_enable nls) \
88 $(use_with !minimal libtool) \
89 --with-ncurses${ncursesw}
90 }
91
92 src_install() {
93 if use minimal; then
94 emake DESTDIR="${D}" install || die "install failed"
95 else
96 emake DESTDIR="${D}" install-full || die "install failed"
97 fi
98
99 dodoc CHANGES README VERSION
100
101 if use examples; then
102 docinto samples
103 dodoc samples/*
104 fi
105
106 if ! use static-libs; then
107 rm -f \
108 "${D}"usr/$(get_libdir)/libdialog.a \
109 "${D}"usr/$(get_libdir)/libdialog.la
110 fi
111 }