Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/libmd/
Date: Sat, 29 Sep 2018 13:29:40
Message-Id: 1538227747.f58dd73958f644927a4be9336c8cd1952ec5244a.jer@gentoo
1 commit: f58dd73958f644927a4be9336c8cd1952ec5244a
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 29 12:22:18 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 29 13:29:07 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f58dd739
7
8 app-crypt/libmd: Add USE=static-libs
9
10 Package-Manager: Portage-2.3.50, Repoman-2.3.11
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 app-crypt/libmd/libmd-1.0.0-r1.ebuild | 26 ++++++++++++++++++++++++++
14 1 file changed, 26 insertions(+)
15
16 diff --git a/app-crypt/libmd/libmd-1.0.0-r1.ebuild b/app-crypt/libmd/libmd-1.0.0-r1.ebuild
17 new file mode 100644
18 index 00000000000..61a43ba2c9e
19 --- /dev/null
20 +++ b/app-crypt/libmd/libmd-1.0.0-r1.ebuild
21 @@ -0,0 +1,26 @@
22 +# Copyright 1999-2018 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=6
26 +inherit multilib
27 +
28 +DESCRIPTION="Message Digest functions from BSD systems"
29 +HOMEPAGE="https://www.hadrons.org/software/libmd/"
30 +SRC_URI="https://archive.hadrons.org/software/libmd/${P}.tar.xz"
31 +
32 +LICENSE="|| ( BSD BSD-2 ISC BEER-WARE public-domain )"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~ppc ~x86"
35 +IUSE="static-libs"
36 +
37 +src_configure() {
38 + econf $(use_enable static-libs static)
39 +}
40 +
41 +src_install() {
42 + default
43 +
44 + if ! use static-libs; then
45 + rm "${D}"/usr/$(get_libdir)/libmd.la || die
46 + fi
47 +}