mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-31 19:31:07 +02:00
net-wireless/wireless-tools: Remove unused package
Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
parent
193fd5dd8c
commit
2f05765193
@ -1,11 +0,0 @@
|
||||
DEFINED_PHASES=compile install unpack
|
||||
DEPEND=sys-apps/sed
|
||||
DESCRIPTION=A collection of tools to configure IEEE 802.11 wireless LAN cards
|
||||
HOMEPAGE=http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
|
||||
IUSE=multicall nls
|
||||
KEYWORDS=~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 sh ~sparc x86
|
||||
LICENSE=GPL-2
|
||||
SLOT=0
|
||||
SRC_URI=http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.29.tar.gz
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4
|
||||
_md5_=f403b075d7c5d3797884dd9e077e8219
|
@ -1 +0,0 @@
|
||||
DIST wireless_tools.29.tar.gz 294417 RMD160 89d690fc2d0dc23d7b296ef312effed65bc13470 SHA1 22040ac1497f4c5f8ddeca365591b01ae3475710 SHA256 6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1
|
@ -1,13 +0,0 @@
|
||||
Index: wireless_tools.29/Makefile
|
||||
===================================================================
|
||||
--- wireless_tools.29.orig/Makefile
|
||||
+++ wireless_tools.29/Makefile
|
||||
@@ -145,7 +145,7 @@ wireless.h:
|
||||
|
||||
# Compilation of the dynamic library
|
||||
$(DYNAMIC): $(OBJS:.o=.so)
|
||||
- $(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^
|
||||
+ $(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $^ $(LIBS) -lc
|
||||
|
||||
# Compilation of the static library
|
||||
$(STATIC): $(OBJS:.o=.so)
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-tools/wireless-tools-29.ebuild,v 1.12 2009/09/12 23:30:12 flameeyes Exp $
|
||||
|
||||
inherit toolchain-funcs multilib eutils
|
||||
|
||||
# The following works with both pre-releases and releases
|
||||
MY_P=${PN/-/_}.${PV/_/.}
|
||||
S=${WORKDIR}/${MY_P/\.pre*/}
|
||||
|
||||
DESCRIPTION="A collection of tools to configure IEEE 802.11 wireless LAN cards"
|
||||
HOMEPAGE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
|
||||
SRC_URI="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 sh ~sparc x86"
|
||||
IUSE="multicall nls"
|
||||
|
||||
DEPEND="sys-apps/sed"
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
epatch "${FILESDIR}/${P}-asneeded.patch"
|
||||
|
||||
sed -i \
|
||||
-e "s:^\(CC\) = gcc:\1 = $(tc-getCC):" \
|
||||
-e "s:^\(AR\) = ar:\1 = $(tc-getAR):" \
|
||||
-e "s:^\(RANLIB\) = ranlib:\1 = $(tc-getRANLIB):" \
|
||||
-e "s:^\(CFLAGS=-Os\):#\1:" \
|
||||
-e "s:\(@\$(LDCONFIG).*\):#\1:" \
|
||||
-e "s:^\(INSTALL_MAN= \$(PREFIX)\)/man/:\1/share/man:" \
|
||||
-e "s:^\(INSTALL_LIB= \$(PREFIX)\)/lib/:\1/$(get_libdir)/:" \
|
||||
-e '/\$(CC)/s:-Wl,-s\>::' \
|
||||
"${S}"/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
|
||||
if use multicall; then
|
||||
emake iwmulticall || die "emake iwmulticall failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make PREFIX="${D}" INSTALL_INC="${D}"/usr/include INSTALL_MAN="${D}"/usr/share/man install \
|
||||
|| die "make install failed"
|
||||
|
||||
if use multicall; then
|
||||
# 'make install-iwmulticall' will overwrite some of the tools
|
||||
# with symlinks - this is intentional (brix)
|
||||
make PREFIX="${D}" INSTALL_INC="${D}"/usr/include INSTALL_MAN="${D}"/usr/share/man install-iwmulticall \
|
||||
|| die "make install-iwmulticall failed"
|
||||
fi
|
||||
|
||||
if use nls; then
|
||||
for lang in fr cs; do
|
||||
for man in 5 7 8; do
|
||||
insinto /usr/share/man/${lang}/man${man}
|
||||
doins ${lang}/*.${man}
|
||||
done
|
||||
|
||||
[[ -f README.${lang} ]] && dodoc README.${lang}
|
||||
done
|
||||
fi
|
||||
|
||||
dodoc CHANGELOG.h DISTRIBUTIONS.txt HOTPLUG.txt IFRENAME-VS-XXX.txt PCMCIA.txt README
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user