diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-09-29 14:22:18 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-09-29 15:29:07 +0200 |
commit | f58dd73958f644927a4be9336c8cd1952ec5244a (patch) | |
tree | 6a0fce57977c441917e394c331678116b60a93a9 /app-crypt | |
parent | app-crypt/libmd: Old. (diff) | |
download | gentoo-f58dd73958f644927a4be9336c8cd1952ec5244a.tar.gz gentoo-f58dd73958f644927a4be9336c8cd1952ec5244a.tar.bz2 gentoo-f58dd73958f644927a4be9336c8cd1952ec5244a.zip |
app-crypt/libmd: Add USE=static-libs
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/libmd/libmd-1.0.0-r1.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app-crypt/libmd/libmd-1.0.0-r1.ebuild b/app-crypt/libmd/libmd-1.0.0-r1.ebuild new file mode 100644 index 000000000000..61a43ba2c9ed --- /dev/null +++ b/app-crypt/libmd/libmd-1.0.0-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit multilib + +DESCRIPTION="Message Digest functions from BSD systems" +HOMEPAGE="https://www.hadrons.org/software/libmd/" +SRC_URI="https://archive.hadrons.org/software/libmd/${P}.tar.xz" + +LICENSE="|| ( BSD BSD-2 ISC BEER-WARE public-domain )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="static-libs" + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + if ! use static-libs; then + rm "${D}"/usr/$(get_libdir)/libmd.la || die + fi +} |