1 |
commit: bc4758fa6898a16b1b6652641cf4e1da2a2dac5c |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 7 05:14:02 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 7 05:14:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc4758fa |
7 |
|
8 |
dev-libs/libnl: cleanup old |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libnl/libnl-1.1.4.ebuild | 53 --------------------------------------- |
14 |
1 file changed, 53 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/libnl/libnl-1.1.4.ebuild b/dev-libs/libnl/libnl-1.1.4.ebuild |
17 |
deleted file mode 100644 |
18 |
index fbf02348694..00000000000 |
19 |
--- a/dev-libs/libnl/libnl-1.1.4.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,53 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
-inherit eutils multilib toolchain-funcs |
27 |
- |
28 |
-DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel interfaces" |
29 |
-HOMEPAGE="http://www.infradead.org/~tgr/libnl/" |
30 |
-SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz" |
31 |
-LICENSE="LGPL-2.1" |
32 |
-SLOT="1.1" |
33 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" |
34 |
-IUSE="doc static-libs" |
35 |
- |
36 |
-DEPEND="doc? ( app-doc/doxygen )" |
37 |
-DOCS=( ChangeLog ) |
38 |
- |
39 |
-src_prepare() { |
40 |
- epatch \ |
41 |
- "${FILESDIR}"/${PN}-1.1-vlan-header.patch \ |
42 |
- "${FILESDIR}"/${PN}-1.1-flags.patch \ |
43 |
- "${FILESDIR}"/${PN}-1.1.3-offsetof.patch |
44 |
- sed -i \ |
45 |
- -e '/@echo/d' \ |
46 |
- Makefile.rules {lib,src,tests}/Makefile || die |
47 |
- sed -i \ |
48 |
- -e 's|-g ||g' \ |
49 |
- Makefile.opts.in || die |
50 |
- |
51 |
- if ! use static-libs; then |
52 |
- sed -i lib/Makefile -e '/OUT_AR/d' || die |
53 |
- fi |
54 |
- |
55 |
- rm -f lib/libnl.a |
56 |
-} |
57 |
- |
58 |
-src_compile() { |
59 |
- emake AR=$(tc-getAR) |
60 |
- |
61 |
- if use doc ; then |
62 |
- cd "${S}/doc" |
63 |
- emake gendoc |
64 |
- fi |
65 |
-} |
66 |
- |
67 |
-src_install() { |
68 |
- default |
69 |
- |
70 |
- if use doc ; then |
71 |
- cd "${S}/doc" |
72 |
- dohtml -r html/* |
73 |
- fi |
74 |
-} |