1 |
commit: 3a16092fe497e21b58aacee358ce2025cd5c1fbb |
2 |
Author: Hanno Böck <hanno <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 29 08:36:30 2022 +0000 |
4 |
Commit: Hanno Böck <hanno <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 29 08:37:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a16092f |
7 |
|
8 |
dev-embedded/srecord: Add missing ghostscript-gpl dependency. |
9 |
|
10 |
Raise EAPI to 7. |
11 |
Fix doc path to avoid portage warning. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/505824 |
14 |
Signed-off-by: Hanno Böck <hanno <AT> gentoo.org> |
15 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
16 |
|
17 |
dev-embedded/srecord/srecord-1.64-r1.ebuild | 43 +++++++++++++++++++++++++++++ |
18 |
1 file changed, 43 insertions(+) |
19 |
|
20 |
diff --git a/dev-embedded/srecord/srecord-1.64-r1.ebuild b/dev-embedded/srecord/srecord-1.64-r1.ebuild |
21 |
new file mode 100644 |
22 |
index 000000000000..aa4b0214e17d |
23 |
--- /dev/null |
24 |
+++ b/dev-embedded/srecord/srecord-1.64-r1.ebuild |
25 |
@@ -0,0 +1,43 @@ |
26 |
+# Copyright 1999-2022 Gentoo Authors |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+ |
29 |
+EAPI=7 |
30 |
+ |
31 |
+inherit autotools |
32 |
+ |
33 |
+DESCRIPTION="A collection of powerful tools for manipulating EPROM load files" |
34 |
+HOMEPAGE="http://srecord.sourceforge.net/" |
35 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="GPL-3" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~sparc ~x86" |
40 |
+IUSE="static-libs test" |
41 |
+RESTRICT="!test? ( test )" |
42 |
+ |
43 |
+RDEPEND="dev-libs/libgcrypt:0" |
44 |
+DEPEND="${RDEPEND} |
45 |
+ app-text/ghostscript-gpl |
46 |
+ dev-libs/boost |
47 |
+ sys-apps/groff |
48 |
+ test? ( app-arch/sharutils )" |
49 |
+ |
50 |
+PATCHES=( "${FILESDIR}"/${PN}-1.57-libtool.patch ) |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ default |
54 |
+ |
55 |
+ cp etc/configure.ac "${S}" |
56 |
+ eautoreconf |
57 |
+} |
58 |
+ |
59 |
+src_configure() { |
60 |
+ econf $(use_enable static-libs static) |
61 |
+} |
62 |
+ |
63 |
+src_install() { |
64 |
+ default |
65 |
+ find "${ED}" -name '*.la' -delete || die |
66 |
+ |
67 |
+ mv "${ED}/usr/share/doc/${PN}" "${ED}/usr/share/doc/${PF}" |
68 |
+} |