How automate source download from a google drive?
This is a bit off the wall. I'm working with a package called tovid which you download from a google drive by clicking on a link on the wiki Darn if I can figure out how to put that into the .mk file to automate it. Look through packages directory and did not see anything obviously like it
Any thoughts would be appreciated
Steve Kenton
################################################################################
#
# tovid # ################################################################################
TOVID_VERSION = 0.35
# I don't see how to automate downloads from a google drive http://goo.gl/o8IWR7
# The file which is downloaded has the expected name tovid-0.35.tar.gz TOVID_SITE = http://tovid.wikia.com/wiki/Installing_tovidTOVID_LICENSE = GPLv2.0TOVID_LICENSE_FILES = COPYING
# Must be run in source directory to avoid "error: package directory 'libtovid' does not exist" define TOVID_INSTALL_TARGET_CMDS
bash -c "cd $(@D); ./setup.py install --root=$(TARGET_DIR) --prefix=/usr"
endef
$(eval $(generic-package))
Quoted 7 lines · Steve Kenton
This is a bit off the wall. I'm working with a package called tovid which you download from a google drive by clicking on a link on the wiki Darn if I can figure out how to put that into the .mk file to automate it. Look through packages directory and did not see anything obviously like it
Any thoughts would be appreciated
This worked:
wget --no-check-certificate '
https://docs.google.com/uc?export=download&id=0B7aAfFRdwkUmeGZTT2pua0d1Z2c'
-O ~/Downloads/tovid.tar.gz
Based on this SO answer:
http://unix.stackexchange.com/a/148674/22389
You'll need to specify the full download name of the file because the wget redirect apparently doesn't get it.
<>< <>< <><
Bryce Schober
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150219/d5aae0d6/attachment.html>
Quoted 16 lines · Bryce Schober
Quoted 7 lines · Steve Kenton
This is a bit off the wall. I'm working with a package called tovid which you download from a google drive by clicking on a link on the wiki Darn if I can figure out how to put that into the .mk file to automate it. Look through packages directory and did not see anything obviously like it
Any thoughts would be appreciated
This worked:
wget --no-check-certificate '
https://docs.google.com/uc?export=download&id=0B7aAfFRdwkUmeGZTT2pua0d1Z2c'
-O ~/Downloads/tovid.tar.gz
Quoted 9 lines
Based on this SO answer:
http://unix.stackexchange.com/a/148674/22389You'll need to specify the full download name of the file because the wget redirect apparently doesn't get it.
<>< <>< <><
Bryce Schober
Wow, thank you very much. Your Google-fu is clearly superior to mine!
Steve
Hi Bryce,
Quoted 13 lines · Bryce Schober
Quoted 6 lines · Steve Kenton
This is a bit off the wall. I'm working with a package called tovid which you download from a google drive by clicking on a link on the wiki Darn if I can figure out how to put that into the .mk file to automate it. Look through packages directory and did not see anything obviously like it
Any thoughts would be appreciated
This worked:
wget --no-check-certificate '
https://docs.google.com/uc?export=download&id=0B7aAfFRdwkUmeGZTT2pua0d1Z2c'
-O ~/Downloads/tovid.tar.gz
Quoted 5 lines
Based on this SO answer:
http://unix.stackexchange.com/a/148674/22389You'll need to specify the full download name of the file because the wget redirect apparently doesn't get it.
wget --content-disposition works for me, almost. I get 'tovid-0.35.tar.gztovid-0.35.tar.gz'.
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -