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: dialog-1.2.20121230.ebuild ChangeLog
Date: Mon, 31 Dec 2012 17:44:14
Message-Id: 20121231174402.059FD2171D@flycatcher.gentoo.org
1 jer 12/12/31 17:44:01
2
3 Modified: ChangeLog
4 Added: dialog-1.2.20121230.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.170 dev-util/dialog/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/ChangeLog?rev=1.170&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/ChangeLog?rev=1.170&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/ChangeLog?r1=1.169&r2=1.170
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v
20 retrieving revision 1.169
21 retrieving revision 1.170
22 diff -u -r1.169 -r1.170
23 --- ChangeLog 16 Dec 2012 17:28:18 -0000 1.169
24 +++ ChangeLog 31 Dec 2012 17:44:01 -0000 1.170
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.169 2012/12/16 17:28:18 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.170 2012/12/31 17:44:01 jer Exp $
30 +
31 +*dialog-1.2.20121230 (31 Dec 2012)
32 +
33 + 31 Dec 2012; Jeroen Roovers <jer@g.o> +dialog-1.2.20121230.ebuild:
34 + Version bump.
35
36 16 Dec 2012; Raúl Porcel <armin76@g.o> dialog-1.1.20120706.ebuild:
37 alpha/ia64/m68k/s390/sh/sparc stable wrt #440652
38
39
40
41 1.1 dev-util/dialog/dialog-1.2.20121230.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/dialog-1.2.20121230.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/dialog/dialog-1.2.20121230.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dialog-1.2.20121230.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.2.20121230.ebuild,v 1.1 2012/12/31 17:44:01 jer Exp $
51
52 EAPI="4"
53
54 inherit multilib eutils
55
56 MY_PV="${PV/1.2./1.2-}"
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 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
65 IUSE="examples minimal nls static-libs unicode"
66
67 RDEPEND="
68 >=sys-libs/ncurses-5.2-r5
69 unicode? ( sys-libs/ncurses[unicode] )
70 "
71 DEPEND="
72 ${RDEPEND}
73 nls? ( sys-devel/gettext )
74 !minimal? ( sys-devel/libtool )
75 !<=sys-freebsd/freebsd-contrib-8.9999
76 "
77
78 src_prepare() {
79 sed -i configure -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' || die
80 sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die
81 }
82
83 src_configure() {
84 econf \
85 --disable-rpath-hack \
86 $(use_enable nls) \
87 $(use_with !minimal libtool) \
88 --with-libtool-opts=$(usex static-libs '' '-shared') \
89 --with-ncurses$(usex unicode w '')
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
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 "${ED}"usr/$(get_libdir)/libdialog.{la,a}
112 fi
113 }