Parent Directory
|
Revision Log
Version bump for orinoco-fwutils. Remove 0.2 which was unstable. Fix quoting issues, as well as headers. (Portage version: 2.1.11.5/cvs/Linux x86_64)
| 1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: $ |
| 4 | |
| 5 | DESCRIPTION="ORiNOCO IEEE 802.11 wireless LAN firmware utilities" |
| 6 | HOMEPAGE="http://www.nongnu.org/orinoco/" |
| 7 | SRC_URI="mirror://sourceforge/orinoco/${P}.tar.gz" |
| 8 | |
| 9 | LICENSE="GPL-2" |
| 10 | SLOT="0" |
| 11 | KEYWORDS="~x86" |
| 12 | |
| 13 | IUSE="" |
| 14 | RDEPEND="app-arch/unzip |
| 15 | dev-lang/perl |
| 16 | net-misc/wget |
| 17 | sys-apps/coreutils |
| 18 | sys-apps/sed" |
| 19 | DEPEND="" |
| 20 | |
| 21 | src_unpack() { |
| 22 | unpack ${A} |
| 23 | |
| 24 | # fix paths |
| 25 | for file in "${S}"/get_*; do |
| 26 | sed -i \ |
| 27 | -e "s:parse_:/usr/bin/parse_:g" \ |
| 28 | -e "s:\./::g" \ |
| 29 | ${file} |
| 30 | done |
| 31 | } |
| 32 | |
| 33 | src_install() { |
| 34 | dobin get_* parse_* |
| 35 | |
| 36 | dodoc README SHA1SUM |
| 37 | } |
| 38 | |
| 39 | pkg_postinst() { |
| 40 | elog "After fetching the firmware using these tools you must place it in" |
| 41 | elog "/lib/firmware/ for the kernel driver to be able to load it." |
| 42 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.13 |