get-scripts view ueagle-firmware @ rev 54
Add zd1201-firmware
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 23 13:31:41 2016 +0200 (2016-04-23) |
parents | 6ca05e6839e1 |
children | 62d94e6800db |
line source
1 SHORT_DESC="Firmware for Fast800 USB ADSL Modem."
2 WEB_SITE="http://eagle-usb.org/"
3 # end of get.list data
4 DEPENDS=""
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 mkdir -p $PACKAGE-$VERSION/fs/lib/firmware
19 VERSION="1.1"
20 TARBALL="ueagle-data-$VERSION.tar.gz"
21 SOURCE="ueagle-data"
22 wget_ueagle ueagle4-data-1.0.tar.gz <<EOT
23 ftp://ftp.by.debian.org/pub/gentoo-distfiles/distfiles
24 http://pkgs.fedoraproject.org/repo/pkgs/ueagle-atm4-firmware/ueagle4-data-1.0.tar.gz/7b6b8b1dfe5faaab407c8e52638fa72b
25 ftp://ftp.uni-frankfurt.de/pub/Mirrors2/gentoo.org/distfiles
26 ftp://84.39.110.99/gentoo/distfiles
27 EOT
28 wget_ueagle $TARBALL <<EOT
29 http://castet.matthieu.free.fr/eagle/non-free
30 ftp://ftp.coolmax.one.pl/pub/linux/repository/pkg/linux-atm/Internet
31 http://eagle-usb.org/ueagle-atm/non-free
32 EOT
33 mkdir -p $PACKAGE-$VERSION/fs/lib/firmware/ueagle-atm
34 cp -a ueagle-*/*.fw ueagle-*/*.bin ueagle4*/*.fw ueagle4*/*.bin* \
35 $PACKAGE-$VERSION/fs/lib/firmware/ueagle-atm
36 chown root.root $PACKAGE-$VERSION/fs/lib/firmware/ueagle-atm/*
37 ln $PACKAGE-$VERSION/fs/lib/firmware/ueagle-atm/CMV4p.bin.v2 \
38 $PACKAGE-$VERSION/fs/lib/firmware/ueagle-atm/CMV4p.bin || true