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