summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-02-18 11:51:50 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-02-18 11:51:50 +0000
commitd32e873fb336f0a2a7dba222d4294427299a4639 (patch)
tree9a54c5a07228062c0bc90ce61095a4274e43a3bf /net-wireless/wireless-tools
parentfix python eclass use, bug #207667 (diff)
downloadgentoo-2-d32e873fb336f0a2a7dba222d4294427299a4639.tar.gz
gentoo-2-d32e873fb336f0a2a7dba222d4294427299a4639.tar.bz2
gentoo-2-d32e873fb336f0a2a7dba222d4294427299a4639.zip
Version bump
(Portage version: 2.1.4.4)
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_pre6.ebuild69
2 files changed, 76 insertions, 1 deletions
diff --git a/net-wireless/wireless-tools/ChangeLog b/net-wireless/wireless-tools/ChangeLog
index 21b82cfecbd8..18907f924b3a 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-tools/ChangeLog,v 1.127 2008/02/16 14:33:03 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wireless-tools/ChangeLog,v 1.128 2008/02/18 11:51:50 armin76 Exp $
+
+*wireless-tools-30_pre6 (18 Feb 2008)
+
+ 18 Feb 2008; Raúl Porcel <armin76@gentoo.org>
+ +wireless-tools-30_pre6.ebuild:
+ Version bump
16 Feb 2008; Raúl Porcel <armin76@gentoo.org>
-wireless-tools-27-r1.ebuild, -wireless-tools-28.ebuild,
diff --git a/net-wireless/wireless-tools/wireless-tools-30_pre6.ebuild b/net-wireless/wireless-tools/wireless-tools-30_pre6.ebuild
new file mode 100644
index 000000000000..f09c22fe51f5
--- /dev/null
+++ b/net-wireless/wireless-tools/wireless-tools-30_pre6.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2008 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_pre6.ebuild,v 1.1 2008/02/18 11:51:50 armin76 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)/:" \
+ -e "s:^\(BUILD_STATIC = y\):#\1:" \
+ "${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 IFRENAME-VS-XXX.txt PCMCIA.txt README
+}