diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2006-04-27 16:34:52 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2006-04-27 16:34:52 +0000 |
commit | 9ef33ca45f8b65292ec7d375f08582bc1278f3c5 (patch) | |
tree | 891655159d7fcb0e414501d35f9d3a449450ef63 /net-wireless/madwifi-ng-tools | |
parent | Make installation to suite more the correct sysroot installation. (diff) | |
download | historical-9ef33ca45f8b65292ec7d375f08582bc1278f3c5.tar.gz historical-9ef33ca45f8b65292ec7d375f08582bc1278f3c5.tar.bz2 historical-9ef33ca45f8b65292ec7d375f08582bc1278f3c5.zip |
New snapshot.
Package-Manager: portage-2203-svn
Diffstat (limited to 'net-wireless/madwifi-ng-tools')
3 files changed, 62 insertions, 2 deletions
diff --git a/net-wireless/madwifi-ng-tools/Manifest b/net-wireless/madwifi-ng-tools/Manifest index 1d974d0744fc..96d996cd3c3c 100644 --- a/net-wireless/madwifi-ng-tools/Manifest +++ b/net-wireless/madwifi-ng-tools/Manifest @@ -1,4 +1,4 @@ -MD5 454fa6df53c31406ece54fb00f6fa0f4 ChangeLog 5161 +MD5 5c9305703287e111c86488894cca7b3a ChangeLog 5161 MD5 6225a58b69ebeb67ff97ab4026b21e58 files/digest-madwifi-ng-tools-0.1401.20060117 78 MD5 04ecb172d5d25d2995578d1772e2c239 files/digest-madwifi-ng-tools-0.1420.20060201 78 MD5 94fa700e7f5c8ec3598c00b31c724525 files/digest-madwifi-ng-tools-0.1440.20060206 78 @@ -17,5 +17,5 @@ MD5 07298bd90947c71b378010e5f3821924 madwifi-ng-tools-0.1443.20060207.ebuild 158 MD5 234c498f8d3502cf4e0e30ed1d45c4a2 madwifi-ng-tools-0.1473.20060312.ebuild 1584 MD5 61d227d7e1c4c33a5d31c97e13b2f963 madwifi-ng-tools-0.1485.20060325.ebuild 1584 MD5 296a0813d6392c2578ec7068d5826912 madwifi-ng-tools-0.1502.20060414.ebuild 1603 -MD5 9fe7e88ea3d986ca10be3a94b706a9d2 madwifi-ng-tools-0.1531.20060427.ebuild 1474 +MD5 4daf06907f0a58ee89d38b0ebaa2fea4 madwifi-ng-tools-0.1531.20060427.ebuild 1603 MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 diff --git a/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1531.20060427 b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1531.20060427 new file mode 100644 index 000000000000..77cef0450db4 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/files/digest-madwifi-ng-tools-0.1531.20060427 @@ -0,0 +1 @@ +MD5 5c341bcc5a0c6bc7dbca743266b31afc madwifi-ng-r1531-20060427.tar.gz 3117258 diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1531.20060427.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1531.20060427.ebuild new file mode 100644 index 000000000000..1c6d4a7289d2 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1531.20060427.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.1531.20060427.ebuild,v 1.1 2006/04/27 16:29:28 brix Exp $ + +inherit toolchain-funcs + +MY_P=${PN/-tools/}-r${PV:2:4}-${PV:7:8} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 802.11a/b/g wireless LAN cards" +HOMEPAGE="http://www.madwifi.org/" +SRC_URI="http://snapshots.madwifi.org/madwifi-ng/${MY_P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="" +DEPEND="virtual/libc" +RDEPEND="!net-wireless/madwifi-old-tools + ${DEPEND}" + +src_unpack() { + unpack ${A} + + # format string fix from solar + sed -i \ + -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \ + ${S}/tools/athstats.c || die + + sed -i \ + -e "s:CC =.*:CC = $(tc-getCC):" \ + -e "s:CFLAGS=:CFLAGS+=:" \ + -e "s:LDFLAGS=:LDFLAGS+=:" \ + ${S}/tools/Makefile || die +} + +src_compile() { + emake tools || die "emake tools failed" +} + +src_install() { + make DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \ + install-tools || die "make install-tools failed" + + dodir /sbin + mv "${D}"/usr/bin/wlanconfig "${D}"/sbin +} + +pkg_postinst() { + if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then + ewarn + ewarn "The udev rules for creating interfaces (athX) are no longer needed." + ewarn + ewarn "You should manually remove the /etc/udev/rules.d/65-madwifi.rules file" + ewarn "and either run 'udevstart' or reboot for the changes to take effect." + ewarn + fi +} |