Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/eps/
Date: Mon, 26 Jun 2017 19:39:37
Message-Id: 1498505966.19659988b457fe2c56776bd57840647c9aa6b6ec.dilfridge@gentoo
1 commit: 19659988b457fe2c56776bd57840647c9aa6b6ec
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 25 22:23:24 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 26 19:39:26 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19659988
7
8 net-mail/eps: EAPI bump, bug 605728
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 net-mail/eps/eps-1.7-r1.ebuild | 37 +++++++++++++++++++++++++++++++++++++
13 1 file changed, 37 insertions(+)
14
15 diff --git a/net-mail/eps/eps-1.7-r1.ebuild b/net-mail/eps/eps-1.7-r1.ebuild
16 new file mode 100644
17 index 00000000000..f0109531933
18 --- /dev/null
19 +++ b/net-mail/eps/eps-1.7-r1.ebuild
20 @@ -0,0 +1,37 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +inherit toolchain-funcs
27 +
28 +DESCRIPTION="Inter7 Email Processing and mht System library"
29 +HOMEPAGE="http://www.inter7.com/eps"
30 +SRC_URI="http://www.inter7.com/eps/${P}.tar.gz"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~ppc ~x86"
35 +IUSE=""
36 +
37 +DEPEND="sys-apps/sed"
38 +RDEPEND=""
39 +
40 +src_prepare() {
41 + sed -i -e 's:/usr:$(DESTDIR)$(prefix):g' \
42 + -e 's:\(DEFS.*\):\1 $(CFLAGS):' \
43 + -e 's:$(DEFS):$(DEFS) -fPIC:' \
44 + -e 's:-shared:-shared -Wl,-soname,libeps.so $(LDFLAGS):' \
45 + -e 's:cp -pf:cp -f:g' \
46 + Makefile || die
47 + default
48 +}
49 +
50 +src_compile() {
51 + emake CC="$(tc-getCC)" AR="$(tc-getAR)"
52 +}
53 +
54 +src_install() {
55 + emake prefix=/usr DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install
56 + dodoc ChangeLog TODO doc/*
57 +}