|
|
| |
LICENSE="|| ( BSD GPL-2 )" | LICENSE="|| ( BSD GPL-2 )" |
SLOT="0" | SLOT="0" |
KEYWORDS="amd64 ppc x86" |
KEYWORDS="~amd64 ~ppc ~x86" |
| |
IUSE="" | IUSE="" |
DEPEND="virtual/libc" | DEPEND="virtual/libc" |
RDEPEND="!net-wireless/madwifi-old-tools | RDEPEND="!net-wireless/madwifi-old-tools |
|
!<net-wireless/madwifi-ng-0.9.3-r4 |
${DEPEND}" | ${DEPEND}" |
| |
src_unpack() { | src_unpack() { |
|
|
| |
dodir /sbin | dodir /sbin |
mv "${D}"/usr/bin/wlanconfig "${D}"/sbin | mv "${D}"/usr/bin/wlanconfig "${D}"/sbin |
|
|
|
# install headers for use by |
|
# net-wireless/wpa_supplicant and net-wireless/hostapd |
|
cd ${S}/.. |
|
insinto /usr/include/madwifi/include/ |
|
doins include/*.h |
|
insinto /usr/include/madwifi/net80211 |
|
doins net80211/*.h |
} | } |
| |
pkg_postinst() { | pkg_postinst() { |
|
|
ewarn "and either run 'udevstart' or reboot for the changes to take effect." | ewarn "and either run 'udevstart' or reboot for the changes to take effect." |
ewarn | ewarn |
fi | fi |
|
einfo |
|
einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with madwifi" |
|
einfo "you should remerge them now." |
|
einfo |
} | } |