1 |
commit: 213181cf7be56f4dd643acc95d6634a5c947d28f |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 3 17:05:08 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 3 17:06:07 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=213181cf |
7 |
|
8 |
net-mail/asmail: add libressl and bump to EAP=5 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
net-mail/asmail/asmail-2.1-r1.ebuild | 54 ++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 54 insertions(+) |
14 |
|
15 |
diff --git a/net-mail/asmail/asmail-2.1-r1.ebuild b/net-mail/asmail/asmail-2.1-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..4802e2e |
18 |
--- /dev/null |
19 |
+++ b/net-mail/asmail/asmail-2.1-r1.ebuild |
20 |
@@ -0,0 +1,54 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI="5" |
26 |
+ |
27 |
+inherit toolchain-funcs eutils |
28 |
+ |
29 |
+DESCRIPTION="a small mail monitor similar to xbiff" |
30 |
+HOMEPAGE="http://www.tigr.net" |
31 |
+SRC_URI="http://www.tigr.net/afterstep/download/${PN}/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="GPL-2" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~ppc ~x86" |
36 |
+IUSE="jpeg libressl" |
37 |
+ |
38 |
+RDEPEND=" |
39 |
+ !libressl? ( dev-libs/openssl:0= ) |
40 |
+ libressl? ( dev-libs/libressl:0= ) |
41 |
+ x11-libs/libXext |
42 |
+ x11-libs/libX11 |
43 |
+ x11-libs/libXpm |
44 |
+ x11-libs/libICE |
45 |
+ x11-libs/libSM |
46 |
+ jpeg? ( virtual/jpeg:= )" |
47 |
+DEPEND="${RDEPEND} |
48 |
+ x11-proto/xextproto" |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ epatch "${FILESDIR}"/${P}-ldflags.patch |
52 |
+ sed -i -e "/LIB/s/-lssl/-lssl -lcrypto/g" \ |
53 |
+ configure |
54 |
+} |
55 |
+ |
56 |
+src_configure() { |
57 |
+ tc-export CC |
58 |
+ econf $(use_enable jpeg) |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ dobin ${PN} |
63 |
+ |
64 |
+ newman ${PN}.man ${PN}.1 |
65 |
+ newman ${PN}rc.man ${PN}rc.5 |
66 |
+ |
67 |
+ insinto /usr/share/${PN}/pixmaps |
68 |
+ doins pixmaps/cloud-e/*.xpm |
69 |
+ |
70 |
+ insinto /usr/share/${PN} |
71 |
+ doins -r sounds |
72 |
+ |
73 |
+ dodoc ${PN}rc.s* CHANGES *.txt README* TODO |
74 |
+} |