1 |
commit: 9137d9fb0c00a29fce9e5aa6c297dd2ca1e54f01 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 17 12:06:22 2015 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 17 12:07:00 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9137d9fb |
7 |
|
8 |
x11-misc/sent: Add live ebuild. |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
x11-misc/sent/sent-9999.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 44 insertions(+) |
14 |
|
15 |
diff --git a/x11-misc/sent/sent-9999.ebuild b/x11-misc/sent/sent-9999.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..e0b6756 |
18 |
--- /dev/null |
19 |
+++ b/x11-misc/sent/sent-9999.ebuild |
20 |
@@ -0,0 +1,44 @@ |
21 |
+# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+inherit git-r3 savedconfig toolchain-funcs |
27 |
+ |
28 |
+DESCRIPTION="Simple plaintext presentation tool" |
29 |
+HOMEPAGE="http://tools.suckless.org/sent/" |
30 |
+EGIT_REPO_URI="http://git.suckless.org/sent/" |
31 |
+ |
32 |
+LICENSE="MIT" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="" |
35 |
+ |
36 |
+RDEPEND=" |
37 |
+ media-libs/fontconfig |
38 |
+ media-libs/libpng:* |
39 |
+ x11-libs/libX11 |
40 |
+ x11-libs/libXft |
41 |
+" |
42 |
+ |
43 |
+DEPEND=" |
44 |
+ ${RDEPEND} |
45 |
+ |
46 |
+" |
47 |
+ |
48 |
+src_prepare() { |
49 |
+ sed -i \ |
50 |
+ -e 's|^ @| |g' \ |
51 |
+ -e 's|@${CC}|$(CC)|g' \ |
52 |
+ -e '/^ echo/d' \ |
53 |
+ Makefile || die |
54 |
+ |
55 |
+ restore_config config.def.h |
56 |
+} |
57 |
+ |
58 |
+src_compile() { |
59 |
+ emake CC=$(tc-getCC) |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ emake DESTDIR="${D}" PREFIX="/usr" install |
64 |
+} |