Skip to content

Commit

Permalink
app-crypt/libmd: EAPI-8 bump, multilib support
Browse files Browse the repository at this point in the history
Required by >=dev-libs/libbsd-0.11.3.

Bug: https://bugs.gentoo.org/789009
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Jul 16, 2021
1 parent 7298199 commit aeb647b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 8 deletions.
23 changes: 23 additions & 0 deletions app-crypt/libmd/libmd-1.0.3-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit multilib-minimal

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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"

multilib_src_configure() {
ECONF_SOURCE="${S}" econf
}

multilib_src_install() {
default
find "${ED}" -type f -name "*.la" -delete || die
}
14 changes: 6 additions & 8 deletions app-crypt/libmd/libmd-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
EAPI=8

inherit autotools git-r3
inherit autotools multilib-minimal git-r3

DESCRIPTION="Message Digest functions from BSD systems"
HOMEPAGE="https://www.hadrons.org/software/libmd/"
Expand All @@ -14,16 +14,14 @@ SLOT="0"

src_prepare() {
default

eautoreconf
}

src_configure() {
econf --disable-static
multilib_src_configure() {
ECONF_SOURCE="${S}" econf
}

src_install() {
multilib_src_install() {
default

find "${ED}" -name '*.la' -delete || die
find "${ED}" -type f -name "*.la" -delete || die
}

0 comments on commit aeb647b

Please sign in to comment.