1 |
commit: 2a341148b37dc9ed9d57b12e728d220632fd32e4 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 19 11:37:23 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 19 11:38:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a341148 |
7 |
|
8 |
net-libs/libtrace: Add live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.56, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-libs/libtrace/libtrace-99999.ebuild | 58 +++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 58 insertions(+) |
15 |
|
16 |
diff --git a/net-libs/libtrace/libtrace-99999.ebuild b/net-libs/libtrace/libtrace-99999.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..c4061e17a7b |
19 |
--- /dev/null |
20 |
+++ b/net-libs/libtrace/libtrace-99999.ebuild |
21 |
@@ -0,0 +1,58 @@ |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+inherit autotools git-r3 |
27 |
+ |
28 |
+DESCRIPTION="A library and tools for trace processing" |
29 |
+HOMEPAGE="https://research.wand.net.nz/software/libtrace.php" |
30 |
+EGIT_REPO_URI="https://github.com/LibtraceTeam/libtrace" |
31 |
+ |
32 |
+LICENSE="LGPL-3" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="" |
35 |
+IUSE="doc ncurses numa static-libs" |
36 |
+ |
37 |
+RDEPEND=" |
38 |
+ >=net-libs/libpcap-0.8 |
39 |
+ dev-libs/openssl:0= |
40 |
+ ncurses? ( sys-libs/ncurses:0= ) |
41 |
+ net-libs/wandio |
42 |
+ numa? ( sys-process/numactl ) |
43 |
+" |
44 |
+DEPEND=" |
45 |
+ ${RDEPEND} |
46 |
+ app-doc/doxygen |
47 |
+ sys-devel/flex |
48 |
+ virtual/pkgconfig |
49 |
+ virtual/yacc |
50 |
+" |
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}"/${PN}-3.0.20-autoconf-1.13.patch |
53 |
+ "${FILESDIR}"/${PN}-3.0.20-tinfo.patch |
54 |
+ "${FILESDIR}"/${PN}-4.0.0-no-examples.patch |
55 |
+ "${FILESDIR}"/${PN}-4.0.0-with-numa.patch |
56 |
+) |
57 |
+S=${WORKDIR}/${P/_beta/} |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ default |
61 |
+ |
62 |
+ eautoreconf |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ econf \ |
67 |
+ $(use_enable static-libs static) \ |
68 |
+ $(use_with ncurses) \ |
69 |
+ $(use_with numa) \ |
70 |
+ --with-man |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ default |
75 |
+ |
76 |
+ use doc && dodoc -r docs/doxygen/html |
77 |
+ |
78 |
+ find "${D}" -name "*.la" -delete || die |
79 |
+} |