Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/dialog/
Date: Tue, 07 Feb 2017 16:15:44
Message-Id: 1486484134.198450f1a8950b9cb9909f48395c6f9fbd5dc3b6.jer@gentoo
1 commit: 198450f1a8950b9cb9909f48395c6f9fbd5dc3b6
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 7 16:14:41 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 7 16:15:34 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=198450f1
7
8 dev-util/dialog: Version bump.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-util/dialog/Manifest | 1 +
13 dev-util/dialog/dialog-1.3.20170131.ebuild | 52 ++++++++++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/dev-util/dialog/Manifest b/dev-util/dialog/Manifest
17 index 5c896c9..dd18127 100644
18 --- a/dev-util/dialog/Manifest
19 +++ b/dev-util/dialog/Manifest
20 @@ -1,3 +1,4 @@
21 DIST dialog-1.2-20150920.tgz 498181 SHA256 c4e61ec5768701683dd4b5b2ebd8a31e6289fa6a1f5801e4b481085650698c05 SHA512 9cc0005ef6a0d7dc0b8263a433b0955fd8331fec9bceb0676dfb17da566d73216a089eab85b804918017623b98653bdb6b4e809a99ecf638f5a529dcf6314e48 WHIRLPOOL 7387fe72b56b20850826506b844e3d4378e7287aa67fc04b3f72d5684b34229fa14351ec2b8542c72b8a303c7c9819b8ead699575ad8eb90707d5e10de077e07
22 DIST dialog-1.3-20160424.tgz 500829 SHA256 47f5870876e778aa2902f2e91b4070418d4651b647e1a67a94127cb8aab5b5eb SHA512 387cca610654c5fb3bc7ea0437787356bed14fbaff8c3440e5423f980b89f79e1d98903e3103065a54d0476986e32a6061ed2b05a2ab76ad918fd31861294df5 WHIRLPOOL b3348450315186111d7712ec253f970843052e9772955e987a935019167bf21a34c6b9639f3142a8dbfd48a13c67858fcf87318f86318d8d841533745d80a444
23 DIST dialog-1.3-20160828.tgz 501960 SHA256 453095abaec288bfbc1ca9faced917e17742cff1ea45ec46210071ac153562f9 SHA512 aa0329578c8b0580e52b1f6aad5c7179bc519c3791cf115b035e28f25e5f48d7a626faa1a322b81365646018a2f8b09f67f4df0629899b50aa5ce7190b022113 WHIRLPOOL 17d107febd1d94380074aac69c4c1e47b9bc565dd39d5009ac82095506686dd6c283c4709ec6aef3f8ec186d21a636924a12ee26c301b5743eaa6b8c64ebe6d1
24 +DIST dialog-1.3-20170131.tgz 507783 SHA256 81baec14cb7d76951763576ec276210b3a869e768ad5e2e6ee1cc53420ece8c9 SHA512 818b4e9d0d5ee55377b78ccceacf59a78e5e6d6fbc09e24a19e62b4988ff8de32f3364132b9ee88c86e126114eda45c82d86397d5f26fae81a6bda91be979786 WHIRLPOOL 33fdc9f3ebf129560a412ff2bdae3b14648f31925d76bc4085613bcd7b74606c2e63f76b7b86af4c032d82b987ee5bea81b49998f07a0d7d83651189c701aaa6
25
26 diff --git a/dev-util/dialog/dialog-1.3.20170131.ebuild b/dev-util/dialog/dialog-1.3.20170131.ebuild
27 new file mode 100644
28 index 00000000..6fb0101
29 --- /dev/null
30 +++ b/dev-util/dialog/dialog-1.3.20170131.ebuild
31 @@ -0,0 +1,52 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +inherit eutils multilib versionator
38 +
39 +MY_P="${PN}-$(replace_version_separator 2 '-')"
40 +S="${WORKDIR}/${MY_P}"
41 +DESCRIPTION="tool to display dialog boxes from a shell"
42 +HOMEPAGE="http://invisible-island.net/dialog/dialog.html"
43 +SRC_URI="ftp://invisible-island.net/${PN}/${MY_P}.tgz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0/14"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
48 +IUSE="examples minimal nls static-libs unicode"
49 +
50 +RDEPEND="
51 + >=sys-libs/ncurses-5.2-r5:=[unicode?]
52 +"
53 +DEPEND="
54 + ${RDEPEND}
55 + nls? ( sys-devel/gettext )
56 + !minimal? ( sys-devel/libtool )
57 + !<=sys-freebsd/freebsd-contrib-8.9999
58 +"
59 +
60 +src_prepare() {
61 + default
62 + sed -i -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' configure || die
63 + sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die
64 +}
65 +
66 +src_configure() {
67 + econf \
68 + --disable-rpath-hack \
69 + $(use_enable nls) \
70 + $(use_with !minimal libtool) \
71 + --with-libtool-opts=$(usex static-libs '' '-shared') \
72 + --with-ncurses$(usex unicode w '')
73 +}
74 +
75 +src_install() {
76 + use minimal && default || emake DESTDIR="${D}" install-full
77 +
78 + use examples && dodoc -r samples
79 +
80 + dodoc CHANGES README
81 +
82 + prune_libtool_files
83 +}