1 |
commit: 89e5e90fc769945a193de6ce60ed2c1c6ca9a0c6 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 04:39:31 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 04:39:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89e5e90f |
7 |
|
8 |
dev-util/dialog: add 1.3.20220526 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-util/dialog/Manifest | 1 + |
13 |
dev-util/dialog/dialog-1.3.20220526.ebuild | 53 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/dialog/Manifest b/dev-util/dialog/Manifest |
17 |
index 0320991123bb..6d7ded1e1f03 100644 |
18 |
--- a/dev-util/dialog/Manifest |
19 |
+++ b/dev-util/dialog/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST dialog-1.3-20211214.tgz 565608 BLAKE2B f069968abe258942f27e010f8d14eafd270c45ae467d5131b41b57c0cc5a145a410fdaeab5f7fa221aa7dbea440f8e268d130e0f1f7389a224374b0047228156 SHA512 b76e7e1fc333550a9cc351e37e7121e98f48b2a1f78e8c0c528e2126db16ae14c4c5da088bc611cb12020836e75dd2a1d875561fe5eec6589c104252d4aa7626 |
22 |
DIST dialog-1.3-20220414.tgz 566701 BLAKE2B d3fba0e896d51048876cd1c393d1f2183e47c5307d218dea0bf8c9cbaaed198bfc39e40e1f52b12c978dda10fa61be75d2527c293da652d2f83b80a2237d9d2f SHA512 53b7bc64bb6406c5828f2d023e7db457eee970ade2077bc64860ef12f06c254b4a13706eee068ffe44055ec6b0576ecfe33153438660a5a54f78ea1be00091ee |
23 |
+DIST dialog-1.3-20220526.tgz 567657 BLAKE2B 1b46c0310e54f26cf5efcd8c84d9b8ef3d7ba7b58292c0967559e4bf281a0312185d3f9dea090e01a95a096ee1781bcdcbab11552175c8d6154ac9268654b6d8 SHA512 619d52b8123264bf586f5325443c3b85863166119c6fbaa91571a57454d761f01a53ebeb2203ea725c83dc88f2abf886c64c6eac5b56c126e4f3939eb1d24d62 |
24 |
|
25 |
diff --git a/dev-util/dialog/dialog-1.3.20220526.ebuild b/dev-util/dialog/dialog-1.3.20220526.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..201a560880f4 |
28 |
--- /dev/null |
29 |
+++ b/dev-util/dialog/dialog-1.3.20220526.ebuild |
30 |
@@ -0,0 +1,53 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+MY_P=${PN}-$(ver_rs 2 -) |
37 |
+ |
38 |
+DESCRIPTION="Tool to display dialog boxes from a shell" |
39 |
+HOMEPAGE="https://invisible-island.net/dialog/" |
40 |
+SRC_URI="https://invisible-island.net/archives/dialog/${MY_P}.tgz" |
41 |
+S="${WORKDIR}"/${MY_P} |
42 |
+ |
43 |
+LICENSE="LGPL-2.1" |
44 |
+SLOT="0/15" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
46 |
+IUSE="examples minimal nls unicode" |
47 |
+ |
48 |
+RDEPEND=">=sys-libs/ncurses-5.2-r5:=[unicode(+)?]" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ nls? ( sys-devel/gettext )" |
51 |
+BDEPEND="!minimal? ( sys-devel/libtool ) |
52 |
+ virtual/pkgconfig" |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ default |
56 |
+ |
57 |
+ sed -i -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' configure || die |
58 |
+ sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die |
59 |
+} |
60 |
+ |
61 |
+src_configure() { |
62 |
+ if [[ ${CHOST} == *-darwin* ]] ; then |
63 |
+ export ac_cv_prog_LIBTOOL=glibtool |
64 |
+ fi |
65 |
+ |
66 |
+ econf \ |
67 |
+ --disable-rpath-hack \ |
68 |
+ --with-pkg-config \ |
69 |
+ $(use_enable nls) \ |
70 |
+ $(use_with !minimal libtool) \ |
71 |
+ --with-libtool-opts='-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 |
+ find "${ED}" -name '*.la' -delete || die |
83 |
+} |