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.20120215.ebuild
Date: Thu, 01 Mar 2012 15:33:05
Message-Id: 20120301152222.67C5E2004B@flycatcher.gentoo.org
1 jer 12/03/01 15:22:22
2
3 Modified: ChangeLog
4 Added: dialog-1.1.20120215.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.148 dev-util/dialog/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/ChangeLog?rev=1.148&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/ChangeLog?rev=1.148&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/ChangeLog?r1=1.147&r2=1.148
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v
20 retrieving revision 1.147
21 retrieving revision 1.148
22 diff -u -r1.147 -r1.148
23 --- ChangeLog 4 Feb 2012 20:58:53 -0000 1.147
24 +++ ChangeLog 1 Mar 2012 15:22:22 -0000 1.148
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/dialog
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.147 2012/02/04 20:58:53 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.148 2012/03/01 15:22:22 jer Exp $
30 +
31 +*dialog-1.1.20120215 (01 Mar 2012)
32 +
33 + 01 Mar 2012; Jeroen Roovers <jer@g.o> +dialog-1.1.20120215.ebuild:
34 + Version bump.
35
36 04 Feb 2012; Brent Baude <ranger@g.o> dialog-1.1.20110707-r1.ebuild:
37 Marking dialog-1.1.20110707-r1 ppc for bug 396161
38
39
40
41 1.1 dev-util/dialog/dialog-1.1.20120215.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/dialog-1.1.20120215.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/dialog-1.1.20120215.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dialog-1.1.20120215.ebuild
47 ===================================================================
48 # Copyright 1999-2012 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.20120215.ebuild,v 1.1 2012/03/01 15:22:22 jer Exp $
51
52 EAPI="4"
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
95 else
96 emake DESTDIR="${D}" install-full
97 fi
98
99 dodoc CHANGES README VERSION
100
101 if use examples; then
102 docinto samples
103 dodoc $( find samples -maxdepth 1 -type f )
104 docinto samples/copifuncs
105 dodoc $( find samples/copifuncs -maxdepth 1 -type f )
106 docinto samples/install
107 dodoc $( find samples/install -type f )
108 fi
109
110 if ! use static-libs; then
111 rm -f \
112 "${D}"usr/$(get_libdir)/libdialog.a \
113 "${D}"usr/$(get_libdir)/libdialog.la
114 fi
115 }