diff options
author | Sam James <sam@gentoo.org> | 2020-09-15 00:44:11 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-09-15 00:44:11 +0000 |
commit | 3fcaa3a3d04381af04d2da4ebb454c6a787e555d (patch) | |
tree | c89b0e5e00bfc026d0b646c16cb65fe8e98e91a6 /net-mail | |
parent | net-mail/serialmail: bump to EAPI 7 (diff) | |
download | gentoo-3fcaa3a3d04381af04d2da4ebb454c6a787e555d.tar.gz gentoo-3fcaa3a3d04381af04d2da4ebb454c6a787e555d.tar.bz2 gentoo-3fcaa3a3d04381af04d2da4ebb454c6a787e555d.zip |
net-mail/ripmime: port to EAPI 7
Closes: https://bugs.gentoo.org/742233
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/ripmime/ripmime-1.4.0.10-r1.ebuild (renamed from net-mail/ripmime/ripmime-1.4.0.10.ebuild) | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/net-mail/ripmime/ripmime-1.4.0.10.ebuild b/net-mail/ripmime/ripmime-1.4.0.10-r1.ebuild index 36bdac2eeef9..b1ab63c6d983 100644 --- a/net-mail/ripmime/ripmime-1.4.0.10.ebuild +++ b/net-mail/ripmime/ripmime-1.4.0.10-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="4" +EAPI=7 -inherit eutils multilib toolchain-funcs +inherit toolchain-funcs DESCRIPTION="extract attachment files out of a MIME-encoded email pack" HOMEPAGE="http://pldaniels.com/ripmime/" @@ -12,18 +12,18 @@ SRC_URI="http://www.pldaniels.com/ripmime/${P}.tar.gz" LICENSE="Sendmail" SLOT="0" KEYWORDS="amd64 ppc sparc x86" -IUSE="static-libs" -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.4.0.9-makefile.patch \ - "${FILESDIR}"/${PN}-1.4.0.9-buffer-overflow.patch -} +PATCHES=( + "${FILESDIR}/${PN}-1.4.0.9-makefile.patch" + "${FILESDIR}/${PN}-1.4.0.9-buffer-overflow.patch" +) src_compile() { - local maketargets="default solib" - use static-libs && maketargets="${maketargets} libripmime.a" - - emake CC="$(tc-getCC)" AR="$(tc-getAR)" CFLAGS="${CFLAGS}" ${maketargets} + emake \ + CC="$(tc-getCC)" \ + AR="$(tc-getAR)" \ + CFLAGS="${CFLAGS}" \ + default solib } src_install() { @@ -37,8 +37,4 @@ src_install() { dolib.so libripmime.so.1.4.0 dosym libripmime.so.1.4.0 /usr/$(get_libdir)/libripmime.so dosym libripmime.so.1.4.0 /usr/$(get_libdir)/libripmime.so.1 - - if use static-libs ; then - dolib.a libripmime.a - fi } |