docs: update LIBFOO_SITE to describe use of filesystem paths

Buildroot supports the use of local filesystem paths in LIBFOO_SITE
since the 2011.11 release, but this is not documented in the manual.
Fix this and slightly reword the surrounding doucmentation
accordingly.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Nathan Lynch 2012-06-17 11:53:59 +00:00 committed by Peter Korsgaard
parent 468bbc1538
commit c62b04ce9a

View File

@ -156,13 +156,18 @@ information is (assuming the package name is +libfoo+) :
package directory inside Buildroot will be applied to the package package directory inside Buildroot will be applied to the package
after extraction. after extraction.
* +LIBFOO_SITE+ may contain the Internet location of the package. It * +LIBFOO_SITE+ provides the location of the package, which can be a
can either be the HTTP, FTP or SCP location of a tarball, or the URL URL or a local filesystem path. HTTP, FTP and SCP are supported URL
of a Git, Subversion, Mercurial or Bazaar repository (see types for retrieving package tarballs. Git, Subversion, Mercurial,
+LIBFOO_SITE_METHOD+ below). + and Bazaar are supported URL types for retrieving packages directly
SCP URLs should be of the form +scp://[user@]host:filepath+. Note from source code management systems. A filesystem path may be used
that filepath is relative to the user's home directory, so you may want to specify either a tarball or a directory containing the package
to prepend the path with a slash for absolute paths: source code. See +LIBFOO_SITE_METHOD+ below for more details on how
retrieval works. +
Note that SCP URLs should be of the form
+scp://[user@]host:filepath+, and that filepath is relative to the
user's home directory, so you may want to prepend the path with a
slash for absolute paths:
+scp://[user@]host:/absolutepath+. + +scp://[user@]host:/absolutepath+. +
If +HOST_LIBFOO_SITE+ is not specified, it defaults to If +HOST_LIBFOO_SITE+ is not specified, it defaults to
+LIBFOO_SITE+. If none are specified, then the location is assumed +LIBFOO_SITE+. If none are specified, then the location is assumed
@ -172,6 +177,8 @@ information is (assuming the package name is +libfoo+) :
+LIBFOO_SITE=http://www.libfoosoftware.org/libfoo+ + +LIBFOO_SITE=http://www.libfoosoftware.org/libfoo+ +
+LIBFOO_SITE=http://svn.xiph.org/trunk/Tremor/+ + +LIBFOO_SITE=http://svn.xiph.org/trunk/Tremor/+ +
+LIBFOO_SITE=git://github.com/kergoth/tslib.git+ +LIBFOO_SITE=git://github.com/kergoth/tslib.git+
+LIBFOO_SITE=/opt/software/libfoo.tar.gz+
+LIBFOO_SITE=$(TOPDIR)/../src/libfoo/+
* +LIBFOO_SITE_METHOD+ may contain the method to fetch the package * +LIBFOO_SITE_METHOD+ may contain the method to fetch the package
source code. It can either be +wget+ (for normal FTP/HTTP downloads source code. It can either be +wget+ (for normal FTP/HTTP downloads