From 5a478364baa96ef83391684e8f941b69b3185cb1 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Wed, 16 Aug 2023 19:51:13 +0200 Subject: [PATCH] Version bump --- net-mail/ripole/Manifest | 1 + .../ripole/files/ripole-0.2.0-ldflags.patch | 19 +++++++++++++ net-mail/ripole/ripole-0.2.2.ebuild | 27 +++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 net-mail/ripole/Manifest create mode 100644 net-mail/ripole/files/ripole-0.2.0-ldflags.patch create mode 100644 net-mail/ripole/ripole-0.2.2.ebuild diff --git a/net-mail/ripole/Manifest b/net-mail/ripole/Manifest new file mode 100644 index 0000000..f81a47d --- /dev/null +++ b/net-mail/ripole/Manifest @@ -0,0 +1 @@ +DIST ripole-0.2.2.tar.gz 30629 BLAKE2B 63ff7c0d086861d8aa9c1fea7e69086874b90e3181898e36338cb3913e90c6ed7e6f222ff985d92386535a222e44e8a324658f0b4bd51de508f92a82f37f5eb1 SHA512 de3a4fe511e11d4ed8b5589aaf102c60c59c8a3cbbd1d988955b89d597ac7a5992f63a7ac36d8aad3916fa9f6311c5a0260136d534973fdf1b4a5fa5296b6b92 diff --git a/net-mail/ripole/files/ripole-0.2.0-ldflags.patch b/net-mail/ripole/files/ripole-0.2.0-ldflags.patch new file mode 100644 index 0000000..b1de502 --- /dev/null +++ b/net-mail/ripole/files/ripole-0.2.0-ldflags.patch @@ -0,0 +1,19 @@ +commit eae881de61b8622913761d88a79ee827d8dee002 +Author: Eray Aslan +Date: Mon Jun 6 13:03:44 2011 +0300 + + Respect LDFLAGS - bug #337843 + +diff --git a/Makefile b/Makefile +index e32ba91..c5240ae 100644 +--- a/Makefile ++++ b/Makefile +@@ -12,7 +12,7 @@ clean: + rm -f *.o ripole + + ripole: $(OBJS) ripole.[ch] +- $(CC) $(CFLAGS) $(OBJS) $(DEFINES) ripole.c -o ripole ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(DEFINES) ripole.c -o ripole + + validate: ripole + cp ripole validate diff --git a/net-mail/ripole/ripole-0.2.2.ebuild b/net-mail/ripole/ripole-0.2.2.ebuild new file mode 100644 index 0000000..232c62e --- /dev/null +++ b/net-mail/ripole/ripole-0.2.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Program/library to pull out attachment from OLE2 data files" +HOMEPAGE="http://www.pldaniels.com/ripole/" +SRC_URI="http://www.pldaniels.com/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~arm ~arm64" + +PATCHES=( + "${FILESDIR}"/${PN}-0.2.0-ldflags.patch +) + +src_compile() { + emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" +} + +src_install() { + dobin ripole + dodoc CHANGELOG README CONTRIBUTORS +}