1 |
commit: d11def5add7f91de78cff2230113e153cd8b6472 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 30 23:59:37 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 30 23:59:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d11def5a |
7 |
|
8 |
net-wireless/wireless-tools: cleanup EAPI 4 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../wireless-tools/wireless-tools-30_pre9.ebuild | 61 ---------------------- |
14 |
1 file changed, 61 deletions(-) |
15 |
|
16 |
diff --git a/net-wireless/wireless-tools/wireless-tools-30_pre9.ebuild b/net-wireless/wireless-tools/wireless-tools-30_pre9.ebuild |
17 |
deleted file mode 100644 |
18 |
index 0d412dd1f21..00000000000 |
19 |
--- a/net-wireless/wireless-tools/wireless-tools-30_pre9.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,61 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI="4" |
26 |
- |
27 |
-inherit toolchain-funcs multilib eutils |
28 |
- |
29 |
-# The following works with both pre-releases and releases |
30 |
-MY_P=${PN/-/_}.${PV/_/.} |
31 |
-S="${WORKDIR}/${MY_P/\.pre*/}" |
32 |
- |
33 |
-DESCRIPTION="A collection of tools to configure IEEE 802.11 wireless LAN cards" |
34 |
-HOMEPAGE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html" |
35 |
-SRC_URI="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/${MY_P}.tar.gz" |
36 |
- |
37 |
-LICENSE="GPL-2" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~sparc x86" |
40 |
-IUSE="multicall" |
41 |
- |
42 |
-DEPEND="sys-apps/sed" |
43 |
-RDEPEND="" |
44 |
- |
45 |
-src_prepare() { |
46 |
- epatch "${FILESDIR}"/${PN}-29-asneeded.patch |
47 |
- |
48 |
- sed -i \ |
49 |
- -e "s:^\(CC\) = gcc:\1 = $(tc-getCC):" \ |
50 |
- -e "s:^\(AR\) = ar:\1 = $(tc-getAR):" \ |
51 |
- -e "s:^\(RANLIB\) = ranlib:\1 = $(tc-getRANLIB):" \ |
52 |
- -e "s:^\(CFLAGS=-Os\):#\1:" \ |
53 |
- -e "s:\(@\$(LDCONFIG).*\):#\1:" \ |
54 |
- -e "s:^\(INSTALL_MAN= \$(PREFIX)\)/man:\1/usr/share/man:" \ |
55 |
- -e "s:^\(INSTALL_LIB= \$(PREFIX)\)/lib:\1/$(get_libdir)/:" \ |
56 |
- -e "s:^\(INSTALL_INC= \$(PREFIX)\)/include:\1/usr/include:" \ |
57 |
- -e "s:^\(BUILD_STATIC = y\):#\1:" \ |
58 |
- -e '/\$(CC)/s:-Wl,-s\>::' \ |
59 |
- "${S}"/Makefile || die |
60 |
-} |
61 |
- |
62 |
-src_compile() { |
63 |
- emake |
64 |
- |
65 |
- use multicall && emake iwmulticall |
66 |
-} |
67 |
- |
68 |
-src_install() { |
69 |
- emake PREFIX="${ED}" install |
70 |
- |
71 |
- if use multicall; then |
72 |
- # 'make install-iwmulticall' will overwrite some of the tools |
73 |
- # with symlinks - this is intentional (brix) |
74 |
- emake PREFIX="${ED}" install-iwmulticall |
75 |
- fi |
76 |
- |
77 |
- has cs ${LINGUAS-cs} || rm -rf "${ED}"/usr/share/man/cs |
78 |
- has fr ${LINGUAS-fr} || rm -rf "${ED}"/usr/share/man/fr.{ISO8859-1,UTF-8} |
79 |
- |
80 |
- dodoc CHANGELOG.h HOTPLUG-UDEV.txt IFRENAME-VS-XXX.txt PCMCIA.txt README |
81 |
- has fr ${LINGUAS-fr} && dodoc README.fr |
82 |
-} |