1 |
commit: aeb647b0b5d1bc3e3f1df2c565534ee8695d8dff |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 16 12:20:40 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 16 12:35:07 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeb647b0 |
7 |
|
8 |
app-crypt/libmd: EAPI-8 bump, multilib support |
9 |
|
10 |
Required by >=dev-libs/libbsd-0.11.3. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/789009 |
13 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
app-crypt/libmd/libmd-1.0.3-r1.ebuild | 23 +++++++++++++++++++++++ |
17 |
app-crypt/libmd/libmd-9999.ebuild | 14 ++++++-------- |
18 |
2 files changed, 29 insertions(+), 8 deletions(-) |
19 |
|
20 |
diff --git a/app-crypt/libmd/libmd-1.0.3-r1.ebuild b/app-crypt/libmd/libmd-1.0.3-r1.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000000..eedd72789df |
23 |
--- /dev/null |
24 |
+++ b/app-crypt/libmd/libmd-1.0.3-r1.ebuild |
25 |
@@ -0,0 +1,23 @@ |
26 |
+# Copyright 1999-2021 Gentoo Authors |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+ |
29 |
+EAPI=8 |
30 |
+ |
31 |
+inherit multilib-minimal |
32 |
+ |
33 |
+DESCRIPTION="Message Digest functions from BSD systems" |
34 |
+HOMEPAGE="https://www.hadrons.org/software/libmd/" |
35 |
+SRC_URI="https://archive.hadrons.org/software/libmd/${P}.tar.xz" |
36 |
+ |
37 |
+LICENSE="|| ( BSD BSD-2 ISC BEER-WARE public-domain )" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
40 |
+ |
41 |
+multilib_src_configure() { |
42 |
+ ECONF_SOURCE="${S}" econf |
43 |
+} |
44 |
+ |
45 |
+multilib_src_install() { |
46 |
+ default |
47 |
+ find "${ED}" -type f -name "*.la" -delete || die |
48 |
+} |
49 |
|
50 |
diff --git a/app-crypt/libmd/libmd-9999.ebuild b/app-crypt/libmd/libmd-9999.ebuild |
51 |
index 7ce508a893c..b28c93edaff 100644 |
52 |
--- a/app-crypt/libmd/libmd-9999.ebuild |
53 |
+++ b/app-crypt/libmd/libmd-9999.ebuild |
54 |
@@ -1,9 +1,9 @@ |
55 |
# Copyright 1999-2021 Gentoo Authors |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
|
58 |
-EAPI=7 |
59 |
+EAPI=8 |
60 |
|
61 |
-inherit autotools git-r3 |
62 |
+inherit autotools multilib-minimal git-r3 |
63 |
|
64 |
DESCRIPTION="Message Digest functions from BSD systems" |
65 |
HOMEPAGE="https://www.hadrons.org/software/libmd/" |
66 |
@@ -14,16 +14,14 @@ SLOT="0" |
67 |
|
68 |
src_prepare() { |
69 |
default |
70 |
- |
71 |
eautoreconf |
72 |
} |
73 |
|
74 |
-src_configure() { |
75 |
- econf --disable-static |
76 |
+multilib_src_configure() { |
77 |
+ ECONF_SOURCE="${S}" econf |
78 |
} |
79 |
|
80 |
-src_install() { |
81 |
+multilib_src_install() { |
82 |
default |
83 |
- |
84 |
- find "${ED}" -name '*.la' -delete || die |
85 |
+ find "${ED}" -type f -name "*.la" -delete || die |
86 |
} |