summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2005-11-12 22:51:57 +0000
committerStefan Schweizer <genstef@gentoo.org>2005-11-12 22:51:57 +0000
commit26eb8f205a4bbc2293e97a614e0274dae930f3c4 (patch)
treef59a1127896d6344a582d01f51dfa49c93dcbf73 /net-wireless
parentMarking Net-CIDR-Lite-0.15 ~ppc64 for bug# 112220 (diff)
downloadgentoo-2-26eb8f205a4bbc2293e97a614e0274dae930f3c4.tar.gz
gentoo-2-26eb8f205a4bbc2293e97a614e0274dae930f3c4.tar.bz2
gentoo-2-26eb8f205a4bbc2293e97a614e0274dae930f3c4.zip
Use userspecified LDFLAGS,CFLAGS, use make install
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/madwifi-tools/ChangeLog6
-rw-r--r--net-wireless/madwifi-tools/madwifi-tools-0.1_pre20051031.ebuild17
2 files changed, 12 insertions, 11 deletions
diff --git a/net-wireless/madwifi-tools/ChangeLog b/net-wireless/madwifi-tools/ChangeLog
index 604b0df7a87e..3840a5317a86 100644
--- a/net-wireless/madwifi-tools/ChangeLog
+++ b/net-wireless/madwifi-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/madwifi-tools
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-tools/ChangeLog,v 1.9 2005/11/12 22:22:23 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-tools/ChangeLog,v 1.10 2005/11/12 22:51:57 genstef Exp $
+
+ 12 Nov 2005; Stefan Schweizer <genstef@gentoo.org>
+ madwifi-tools-0.1_pre20051031.ebuild:
+ Use userspecified LDFLAGS,CFLAGS, use make install
12 Nov 2005; Peter Johanson <latexer@gentoo.org>
madwifi-tools-0.1_pre20051031.ebuild:
diff --git a/net-wireless/madwifi-tools/madwifi-tools-0.1_pre20051031.ebuild b/net-wireless/madwifi-tools/madwifi-tools-0.1_pre20051031.ebuild
index c567c6030881..12da9577ed6c 100644
--- a/net-wireless/madwifi-tools/madwifi-tools-0.1_pre20051031.ebuild
+++ b/net-wireless/madwifi-tools/madwifi-tools-0.1_pre20051031.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-tools/madwifi-tools-0.1_pre20051031.ebuild,v 1.2 2005/11/12 22:22:23 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-tools/madwifi-tools-0.1_pre20051031.ebuild,v 1.3 2005/11/12 22:51:57 genstef Exp $
MADWIFI_SVN_REV="1227"
DESCRIPTION="Wireless tools for Atheros chipset a/b/g cards"
@@ -14,19 +14,16 @@ DEPEND="virtual/libc"
S=${WORKDIR}/madwifi-trunk-r${MADWIFI_SVN_REV}-${PV:7:8}/tools
-pkg_setup() {
- use x86 && TARGET=i386-elf
- use amd64 && TARGET=x86_64-elf
- export TARGET
-}
-
src_unpack() {
unpack ${A}
cd ${S}
- sed -i -e 's/err(1, ifr.ifr_name);/err(1, "%s", ifr.ifr_name);'/g ${S}/athstats.c
+ sed -i 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' athstats.c || die
+ sed -i "s:CFLAGS=:CFLAGS+=:" Makefile
+ sed -i "s:LDFLAGS=:LDFLAGS+=:" Makefile
}
src_install() {
- dobin 80211debug 80211stats athchans athctrl athdebug athkey athstats
- dosbin wlanconfig
+ make install DESTDIR=${D} BINDIR=/usr/bin MANDIR=/usr/share/man || die "make install failed"
+ dodir /sbin
+ mv ${D}/usr/bin/wlanconfig ${D}/sbin
}