Add support for local packages through 'file://' pseudo-protocol
authorDavid Wagner <david.wagner@free-electrons.com>
Thu, 29 Sep 2011 19:57:46 +0000 (21:57 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 30 Sep 2011 06:26:06 +0000 (08:26 +0200)
commit2690e76aa2adb4475c85405dd49c7697cc64ea9d
tree095e93b0ea71a8f329587882c70eb0c889a60835
parent9e4aeb3c2b92435f406ff165965475ba774705d0
Add support for local packages through 'file://' pseudo-protocol

This can be used this way :

<pkg>_VERSION = 42
<pkg>_SITE = file:///some/local/directory
<pkg>_SOURCE = mypkg-$(<pkg>_VERSION).tar.bz2

Can be useful to integrate a home-made project or for testing purposes.
The default command to retrieve files is 'cp' but 'rsync' could also be used.
Through sshfs, it should also be possible to get non-public remote files on a
ssh server.

[ Thomas Petazzoni: use $(PKG)_SITE and $(PKG)_SOURCE variables
  instead of $(1) and $(2) ]
[ Peter: don't append $(QUIET), cp doesn't handle -q]
Signed-off-by: David Wagner <david.wagner@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Config.in
package/Makefile.package.in