From bce5268db17c705d9e44622ff662f3531e89f15f Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 15 Apr 2007 22:47:03 +0000 Subject: pre15-17 seem to be buggy. pre14 looks good so added. (Portage version: 2.1.2.3) --- net-wireless/wireless-tools/ChangeLog | 8 ++- .../files/digest-wireless-tools-29_pre14 | 3 + .../wireless-tools/wireless-tools-29_pre14.ebuild | 68 ++++++++++++++++++++++ 3 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 net-wireless/wireless-tools/files/digest-wireless-tools-29_pre14 create mode 100644 net-wireless/wireless-tools/wireless-tools-29_pre14.ebuild (limited to 'net-wireless') diff --git a/net-wireless/wireless-tools/ChangeLog b/net-wireless/wireless-tools/ChangeLog index 25c0d9b4430a..f762e8fcbe36 100644 --- a/net-wireless/wireless-tools/ChangeLog +++ b/net-wireless/wireless-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/wireless-tools # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-tools/ChangeLog,v 1.112 2007/04/13 21:26:47 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-tools/ChangeLog,v 1.113 2007/04/15 22:47:03 uberlord Exp $ + +*wireless-tools-29_pre14 (15 Apr 2007) + + 15 Apr 2007; Roy Marples + +wireless-tools-29_pre14.ebuild: + pre15-17 seem to be buggy. pre14 looks good so added. *wireless-tools-29_pre17 (13 Apr 2007) diff --git a/net-wireless/wireless-tools/files/digest-wireless-tools-29_pre14 b/net-wireless/wireless-tools/files/digest-wireless-tools-29_pre14 new file mode 100644 index 000000000000..98e01e300fdc --- /dev/null +++ b/net-wireless/wireless-tools/files/digest-wireless-tools-29_pre14 @@ -0,0 +1,3 @@ +MD5 ef69f02a98c1c758457e0cc7d5ccf6e1 wireless_tools.29.pre14.tar.gz 277770 +RMD160 e4a7d232929f388852d3c7a399bc661182d8fdea wireless_tools.29.pre14.tar.gz 277770 +SHA256 300dca648d8e211cce2ae0e4a70fcc9443fbf1be3d016baa63cae4d29386c09b wireless_tools.29.pre14.tar.gz 277770 diff --git a/net-wireless/wireless-tools/wireless-tools-29_pre14.ebuild b/net-wireless/wireless-tools/wireless-tools-29_pre14.ebuild new file mode 100644 index 000000000000..429fb7d4aa84 --- /dev/null +++ b/net-wireless/wireless-tools/wireless-tools-29_pre14.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2007 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_pre14.ebuild,v 1.1 2007/04/15 22:47:03 uberlord Exp $ + +inherit toolchain-funcs multilib + +# 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="virtual/libc" + +src_unpack() { + unpack ${A} + + 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)/:" \ + "${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 +} -- cgit v1.2.3-65-gdbad