public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/ripmime/
Date: Tue, 15 Sep 2020 00:44:16 +0000 (UTC)	[thread overview]
Message-ID: <1600130651.3fcaa3a3d04381af04d2da4ebb454c6a787e555d.sam@gentoo> (raw)

commit:     3fcaa3a3d04381af04d2da4ebb454c6a787e555d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 15 00:44:11 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 15 00:44:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fcaa3a3

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 <AT> gentoo.org>

 ...-1.4.0.10.ebuild => ripmime-1.4.0.10-r1.ebuild} | 28 ++++++++++------------
 1 file 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
similarity index 57%
rename from net-mail/ripmime/ripmime-1.4.0.10.ebuild
rename to net-mail/ripmime/ripmime-1.4.0.10-r1.ebuild
index 36bdac2eeef..b1ab63c6d98 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
 }


             reply	other threads:[~2020-09-15  0:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-15  0:44 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-29 23:18 [gentoo-commits] repo/gentoo:master commit in: net-mail/ripmime/ Petr Vaněk
2023-12-29 23:18 Petr Vaněk
2023-12-29 23:18 Petr Vaněk
2024-02-22 10:55 Petr Vaněk
2024-02-23  4:46 Sam James
2024-02-23  4:46 Sam James
2024-03-02 15:43 Arthur Zamarin
2024-03-02 20:41 Sam James
2024-03-03  8:31 Petr Vaněk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1600130651.3fcaa3a3d04381af04d2da4ebb454c6a787e555d.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox