This commit is contained in:
Gerben Jan Dijkman 2023-08-12 21:04:17 +02:00
parent addc672b5b
commit ea7f272b2b
3 changed files with 47 additions and 0 deletions

1
net-mail/ripole/Manifest Normal file
View File

@ -0,0 +1 @@
DIST ripole-0.2.2.tar.gz 30629 BLAKE2B 63ff7c0d086861d8aa9c1fea7e69086874b90e3181898e36338cb3913e90c6ed7e6f222ff985d92386535a222e44e8a324658f0b4bd51de508f92a82f37f5eb1 SHA512 de3a4fe511e11d4ed8b5589aaf102c60c59c8a3cbbd1d988955b89d597ac7a5992f63a7ac36d8aad3916fa9f6311c5a0260136d534973fdf1b4a5fa5296b6b92

View File

@ -0,0 +1,19 @@
commit eae881de61b8622913761d88a79ee827d8dee002
Author: Eray Aslan <eras@gentoo.org>
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

View File

@ -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
}