1 |
commit: e7fbdf91cf0b478e602a1b7517d0255859935d5f |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 28 17:32:09 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 17:32:09 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/ppc64le.git/commit/?id=e7fbdf91 |
7 |
|
8 |
net-libs/libmnl: copy from tree |
9 |
|
10 |
net-libs/libmnl/Manifest | 1 + |
11 |
net-libs/libmnl/libmnl-1.0.3-r1.ebuild | 32 ++++++++++++++++++++++++++++++++ |
12 |
net-libs/libmnl/metadata.xml | 15 +++++++++++++++ |
13 |
3 files changed, 48 insertions(+) |
14 |
|
15 |
diff --git a/net-libs/libmnl/Manifest b/net-libs/libmnl/Manifest |
16 |
new file mode 100644 |
17 |
index 0000000..5e56654 |
18 |
--- /dev/null |
19 |
+++ b/net-libs/libmnl/Manifest |
20 |
@@ -0,0 +1 @@ |
21 |
+DIST libmnl-1.0.3.tar.bz2 337375 SHA256 6f14336e9acdbc62c2dc71bbb59ce162e54e9af5c80153e92476c5443fe784de SHA512 c47b76a6125271ef9dce13bc8bebd415d2bbd79b6d50491d8ba23344e7e6fe0c1413fe055913ab9444203f0d73166b79f0d4b532b13b62feecde3e5a8cd442a7 WHIRLPOOL 80717c63015e8df36a11c2b7914d63747ff296fac72b4f3a66670038f94d28961ddc6dce2050c41d3ceaf195030b61535ee84a628fa1fa686d8fed013f4d6261 |
22 |
|
23 |
diff --git a/net-libs/libmnl/libmnl-1.0.3-r1.ebuild b/net-libs/libmnl/libmnl-1.0.3-r1.ebuild |
24 |
new file mode 100644 |
25 |
index 0000000..4b0bbc2 |
26 |
--- /dev/null |
27 |
+++ b/net-libs/libmnl/libmnl-1.0.3-r1.ebuild |
28 |
@@ -0,0 +1,32 @@ |
29 |
+# Copyright 1999-2015 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+# $Id$ |
32 |
+ |
33 |
+EAPI=4 |
34 |
+ |
35 |
+inherit eutils toolchain-funcs |
36 |
+ |
37 |
+DESCRIPTION="Minimalistic netlink library" |
38 |
+HOMEPAGE="http://netfilter.org/projects/libmnl" |
39 |
+SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" |
40 |
+ |
41 |
+LICENSE="LGPL-2.1" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux" |
44 |
+IUSE="examples static-libs" |
45 |
+ |
46 |
+src_configure() { |
47 |
+ econf $(use_enable static-libs static) |
48 |
+} |
49 |
+ |
50 |
+src_install() { |
51 |
+ default |
52 |
+ gen_usr_ldscript -a mnl |
53 |
+ prune_libtool_files |
54 |
+ |
55 |
+ if use examples; then |
56 |
+ find examples/ -name 'Makefile*' -delete |
57 |
+ dodoc -r examples/ |
58 |
+ docompress -x /usr/share/doc/${PF}/examples |
59 |
+ fi |
60 |
+} |
61 |
|
62 |
diff --git a/net-libs/libmnl/metadata.xml b/net-libs/libmnl/metadata.xml |
63 |
new file mode 100644 |
64 |
index 0000000..7d46164 |
65 |
--- /dev/null |
66 |
+++ b/net-libs/libmnl/metadata.xml |
67 |
@@ -0,0 +1,15 @@ |
68 |
+<?xml version="1.0" encoding="UTF-8"?> |
69 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
70 |
+<pkgmetadata> |
71 |
+<maintainer type="project"> |
72 |
+ <email>netmon@g.o</email> |
73 |
+ <name>Gentoo network monitoring and analysis project</name> |
74 |
+</maintainer> |
75 |
+<longdescription lang="en"> |
76 |
+ libmnl is a minimalistic user-space library oriented to Netlink developers. |
77 |
+ There are a lot of common tasks in parsing, validating, constructing of both |
78 |
+ the Netlink header and TLVs that are repetitive and easy to get wrong. This |
79 |
+ library aims to provide simple helpers that allows you to re-use code and to |
80 |
+ avoid re-inventing the wheel. |
81 |
+</longdescription> |
82 |
+</pkgmetadata> |