get-scripts view ueagle-firmware @ rev 69

palemoon: fix VERSION
author Richard Dunbar <mojo@slitaz.org>
date Fri Jun 16 02:55:30 2017 -0400 (2017-06-16)
parents 2cdf3e534506
children
line source
1 SHORT_DESC="Firmware for Fast800 USB ADSL Modem."
2 WEB_SITE="http://eagle-usb.org/"
3 VERSION="1.1"
4 # end of get.list data
6 wget_ueagle()
7 {
8 while read url ; do
9 WGET_URL=$url/$1
10 wget $WGET_URL
11 [ -s $1 ] || continue
12 tar xzf $1
13 return
14 done
15 abort_package "Could not download $1. Exiting."
16 }
18 TARBALL="ueagle-data-$VERSION.tar.gz"
19 SOURCE="ueagle-data"
20 wget_ueagle ueagle4-data-1.0.tar.gz <<EOT
21 ftp://ftp.by.debian.org/pub/gentoo-distfiles/distfiles
22 http://pkgs.fedoraproject.org/repo/pkgs/ueagle-atm4-firmware/ueagle4-data-1.0.tar.gz/7b6b8b1dfe5faaab407c8e52638fa72b
23 ftp://ftp.uni-frankfurt.de/pub/Mirrors2/gentoo.org/distfiles
24 ftp://84.39.110.99/gentoo/distfiles
25 EOT
26 wget_ueagle $TARBALL <<EOT
27 http://castet.matthieu.free.fr/eagle/non-free
28 ftp://ftp.coolmax.one.pl/pub/linux/repository/pkg/linux-atm/Internet
29 http://eagle-usb.org/ueagle-atm/non-free
30 EOT
31 FIRMWARE=$PACKAGE-$VERSION/fs/lib/firmware/ueagle-atm
32 mkdir -p $FIRMWARE
33 cp -a ueagle-*/*.fw ueagle-*/*.bin ueagle4*/*.fw ueagle4*/*.bin* $FIRMWARE
34 chown root.root $FIRMWARE/*
35 ln $FIRMWARE/CMV4p.bin.v2 $FIRMWARE/CMV4p.bin || true