summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-05-02 07:31:13 +0000
committerRoy Marples <uberlord@gentoo.org>2007-05-02 07:31:13 +0000
commita30f677cbdeb7e0c7e425821686ced5bd6d88779 (patch)
tree3f2006fa5720ded549e4f93e62f4893eb34b7822
parentUpdate my email address spyderous->dberkholz. (diff)
downloadgentoo-2-a30f677cbdeb7e0c7e425821686ced5bd6d88779.tar.gz
gentoo-2-a30f677cbdeb7e0c7e425821686ced5bd6d88779.tar.bz2
gentoo-2-a30f677cbdeb7e0c7e425821686ced5bd6d88779.zip
New version.
(Portage version: 2.1.2.5)
-rw-r--r--net-wireless/wireless-tools/ChangeLog8
-rw-r--r--net-wireless/wireless-tools/files/digest-wireless-tools-29_pre213
-rw-r--r--net-wireless/wireless-tools/wireless-tools-29_pre21.ebuild68
3 files changed, 78 insertions, 1 deletions
diff --git a/net-wireless/wireless-tools/ChangeLog b/net-wireless/wireless-tools/ChangeLog
index 94a98b839dc0..75b047b5e0bd 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.114 2007/04/20 00:12:34 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-tools/ChangeLog,v 1.115 2007/05/02 07:31:13 uberlord Exp $
+
+*wireless-tools-29_pre21 (02 May 2007)
+
+ 02 May 2007; Roy Marples <uberlord@gentoo.org>
+ +wireless-tools-29_pre21.ebuild:
+ New version.
*wireless-tools-29_pre20 (20 Apr 2007)
diff --git a/net-wireless/wireless-tools/files/digest-wireless-tools-29_pre21 b/net-wireless/wireless-tools/files/digest-wireless-tools-29_pre21
new file mode 100644
index 000000000000..5572f9d3059a
--- /dev/null
+++ b/net-wireless/wireless-tools/files/digest-wireless-tools-29_pre21
@@ -0,0 +1,3 @@
+MD5 953774d6a34050bae4ef3bfa731f6653 wireless_tools.29.pre21.tar.gz 294097
+RMD160 14d10e62442c3c3e9b287b7da60a4dd03afdf3ee wireless_tools.29.pre21.tar.gz 294097
+SHA256 90714813bcf0552cd9afe3d270de168ec41b91ed3105766c8cedf32d4724f3a9 wireless_tools.29.pre21.tar.gz 294097
diff --git a/net-wireless/wireless-tools/wireless-tools-29_pre21.ebuild b/net-wireless/wireless-tools/wireless-tools-29_pre21.ebuild
new file mode 100644
index 000000000000..35485341b744
--- /dev/null
+++ b/net-wireless/wireless-tools/wireless-tools-29_pre21.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_pre21.ebuild,v 1.1 2007/05/02 07:31:13 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
+}