get-scripts annotate ueagle-firmware @ rev 80

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