1 |
commit: 93732127da94577948bdc3bad38d0f344854b4b5 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jun 24 15:23:36 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 6 21:47:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93732127 |
7 |
|
8 |
net-misc/netpipe: EAPI7, improve ebuild |
9 |
|
10 |
net-misc/netpipe/netpipe-1.0.0_beta2-r2.ebuild | 30 ++++++++++++++++++++++++++ |
11 |
1 file changed, 30 insertions(+) |
12 |
|
13 |
diff --git a/net-misc/netpipe/netpipe-1.0.0_beta2-r2.ebuild b/net-misc/netpipe/netpipe-1.0.0_beta2-r2.ebuild |
14 |
new file mode 100644 |
15 |
index 00000000000..dbdaac08b10 |
16 |
--- /dev/null |
17 |
+++ b/net-misc/netpipe/netpipe-1.0.0_beta2-r2.ebuild |
18 |
@@ -0,0 +1,30 @@ |
19 |
+# Copyright 1999-2018 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+ |
22 |
+EAPI=7 |
23 |
+ |
24 |
+inherit toolchain-funcs |
25 |
+ |
26 |
+DESCRIPTION="tool to reliably distribute binary data using UDP broadcasting techniques" |
27 |
+HOMEPAGE="https://www.wudika.de/~jan/netpipe/" |
28 |
+SRC_URI="https://www.wudika.de/~jan/${PN}/${PN}.tar.gz" |
29 |
+ |
30 |
+LICENSE="GPL-2" |
31 |
+SLOT="0" |
32 |
+KEYWORDS="~amd64 ~ppc ~x86" |
33 |
+IUSE="" |
34 |
+ |
35 |
+S="${WORKDIR}/${PN}" |
36 |
+ |
37 |
+src_prepare() { |
38 |
+ sed -i \ |
39 |
+ -e "s:^OPT=.*:OPT = ${CFLAGS} ${LDFLAGS}:" \ |
40 |
+ -e "s:^CC=.*:CC = $(tc-getCC):" \ |
41 |
+ Makefile || die "sed failed" |
42 |
+ default |
43 |
+} |
44 |
+ |
45 |
+src_install() { |
46 |
+ dobin netpipe |
47 |
+ dodoc DOCUMENTATION INSTALL TECH-NOTES |
48 |
+} |