summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2009-10-20 09:03:50 +0000
committerThilo Bangert <bangert@gentoo.org>2009-10-20 09:03:50 +0000
commit0250fbcf0cac5ea7b9e6e3d4192f6e562b380d59 (patch)
treec59def1db5c2ede5cd9e0005a9a2ead81b6da706 /net-wireless/wireless-tools
parentInitial version of hg-git. (diff)
downloadgentoo-2-0250fbcf0cac5ea7b9e6e3d4192f6e562b380d59.tar.gz
gentoo-2-0250fbcf0cac5ea7b9e6e3d4192f6e562b380d59.tar.bz2
gentoo-2-0250fbcf0cac5ea7b9e6e3d4192f6e562b380d59.zip
version bump (bug #264446) - thanks Davide Pesavento
(Portage version: 2.2_rc42/cvs/Linux i686)
Diffstat (limited to 'net-wireless/wireless-tools')
-rw-r--r--net-wireless/wireless-tools/ChangeLog8
-rw-r--r--net-wireless/wireless-tools/wireless-tools-30_pre8.ebuild64
2 files changed, 71 insertions, 1 deletions
diff --git a/net-wireless/wireless-tools/ChangeLog b/net-wireless/wireless-tools/ChangeLog
index b9e0ec35846a..502f187aa36e 100644
--- a/net-wireless/wireless-tools/ChangeLog
+++ b/net-wireless/wireless-tools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/wireless-tools
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-tools/ChangeLog,v 1.137 2009/09/12 23:30:12 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-tools/ChangeLog,v 1.138 2009/10/20 09:03:50 bangert Exp $
+
+*wireless-tools-30_pre8 (20 Oct 2009)
+
+ 20 Oct 2009; Thilo Bangert <bangert@gentoo.org>
+ +wireless-tools-30_pre8.ebuild:
+ version bump (bug #264446)
12 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org>
wireless-tools-29.ebuild, wireless-tools-30_pre7.ebuild:
diff --git a/net-wireless/wireless-tools/wireless-tools-30_pre8.ebuild b/net-wireless/wireless-tools/wireless-tools-30_pre8.ebuild
new file mode 100644
index 000000000000..f3eb83ad3cc4
--- /dev/null
+++ b/net-wireless/wireless-tools/wireless-tools-30_pre8.ebuild
@@ -0,0 +1,64 @@
+# 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-30_pre8.ebuild,v 1.1 2009/10/20 09:03:50 bangert Exp $
+
+EAPI="2"
+
+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="linguas_cs linguas_fr multicall"
+
+DEPEND="sys-apps/sed"
+RDEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-29-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/usr/share/man:" \
+ -e "s:^\(INSTALL_LIB= \$(PREFIX)\)/lib:\1/$(get_libdir)/:" \
+ -e "s:^\(INSTALL_INC= \$(PREFIX)\)/include:\1/usr/include:" \
+ -e "s:^\(BUILD_STATIC = y\):#\1:" \
+ -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() {
+ emake PREFIX="${D}" install || die "emake install failed"
+
+ if use multicall; then
+ # 'make install-iwmulticall' will overwrite some of the tools
+ # with symlinks - this is intentional (brix)
+ emake PREFIX="${D}" install-iwmulticall || die "emake install-iwmulticall failed"
+ fi
+
+ has cs ${LINGUAS} || rm -rf "${D}"/usr/share/man/cs
+ has fr ${LINGUAS} || rm -rf "${D}"/usr/share/man/fr.{ISO8859-1,UTF-8}
+
+ dodoc CHANGELOG.h HOTPLUG-UDEV.txt IFRENAME-VS-XXX.txt PCMCIA.txt README
+ has fr ${LINGUAS} && dodoc README.fr
+}