1 |
commit: 98aa6ecac762081286d65d0dd270fd9137619b7c |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 15 15:58:44 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 15 15:58:55 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98aa6eca |
7 |
|
8 |
dev-util/dialog: Version 1.3.20190211 |
9 |
|
10 |
Package-Manager: Portage-2.3.60, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
dev-util/dialog/Manifest | 1 + |
14 |
dev-util/dialog/dialog-1.3.20190211.ebuild | 51 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/dialog/Manifest b/dev-util/dialog/Manifest |
18 |
index 04ee43154f0..9c56917e7e0 100644 |
19 |
--- a/dev-util/dialog/Manifest |
20 |
+++ b/dev-util/dialog/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST dialog-1.3-20170131.tgz 507783 BLAKE2B a98c436eabc8d06619bd64a8b1d647a0712630f0f89565253636ef2f38333ca6926177aa0c2001305b0c06fc7a1f576cda87da493183402ef9ec3cdc3fa8be23 SHA512 818b4e9d0d5ee55377b78ccceacf59a78e5e6d6fbc09e24a19e62b4988ff8de32f3364132b9ee88c86e126114eda45c82d86397d5f26fae81a6bda91be979786 |
23 |
DIST dialog-1.3-20181022.tgz 531815 BLAKE2B c6a34010eb991683356338009998964fde60bcae4181d8b07e6d5b9f0d0e9a61d3f0b112fad02c151b1774380e18b87f93f43fdfe35e0fba86914c029eaa274c SHA512 5d7891086ab6d2f4a815538513b09754a56368bbb0ec3bd107346fd2ed6ae10fa858173447fa609cce28a91e234ed8067d9439efeb973593fff2df1e811a8925 |
24 |
DIST dialog-1.3-20181107.tgz 531872 BLAKE2B 7724d66bbb953ff118baf5f135810f40fca30bde6a4a340306da322e9adb4b40e105376c316945b7f70ee2be2698f1bee88bd040c22b5662685448145ccff0a8 SHA512 69cb367bc9a1d6dcd69b74f7eae9b4318f0bfd9c0eae48144da119df10f7f81ed4c215a8882d72dfbbd9ff41c5e591c80b168b9552e014454cc80c9aa37dca55 |
25 |
+DIST dialog-1.3-20190211.tar.gz 534749 BLAKE2B 3b721cf98b961c60a97975b7720722d4a46a47d7b861fb7c27de2db2fc3fa704d249b40bf28a6845f68cffabf41b66d77d5f1acf49a342e38cb83a24907e9379 SHA512 247639190c97c1baa6aa2cc75bc17593a0e33fcfcfd6dbc4a1903b55709f8f102c965de03f0620c48463f018525eb77f9b62b39db8331b811a227bbf39b254c4 |
26 |
|
27 |
diff --git a/dev-util/dialog/dialog-1.3.20190211.ebuild b/dev-util/dialog/dialog-1.3.20190211.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..021642f2571 |
30 |
--- /dev/null |
31 |
+++ b/dev-util/dialog/dialog-1.3.20190211.ebuild |
32 |
@@ -0,0 +1,51 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+inherit eutils multilib versionator |
38 |
+ |
39 |
+DIA_P="${PN}-$(replace_version_separator 2 '-')" |
40 |
+DESCRIPTION="tool to display dialog boxes from a shell" |
41 |
+HOMEPAGE="https://invisible-island.net/dialog/" |
42 |
+SRC_URI="https://dev.gentoo.org/~jer/${DIA_P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0/15" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
47 |
+IUSE="examples minimal nls static-libs unicode" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=sys-libs/ncurses-5.2-r5:=[unicode?] |
51 |
+" |
52 |
+DEPEND=" |
53 |
+ ${RDEPEND} |
54 |
+ nls? ( sys-devel/gettext ) |
55 |
+ !minimal? ( sys-devel/libtool ) |
56 |
+ !<=sys-freebsd/freebsd-contrib-8.9999 |
57 |
+" |
58 |
+S=${WORKDIR}/${DIA_P} |
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 |
+} |