diff --git a/docs/buildroot.html b/docs/buildroot.html
index 0115f00f4e..44aadf43e0 100644
--- a/docs/buildroot.html
+++ b/docs/buildroot.html
@@ -997,9 +997,12 @@ $(eval $(call GENTARGETS,package,libfoo,host))
libfoo
) :
LIBFOO_VERSION
, mandatory, must contain the version
- of the package. Note that if HOST_LIBFOO_VERSION
doesn't
- exist, it is assumed to be the same as LIBFOO_VERSION
.LIBFOO_VERSION
, mandatory, must contain the
+ version of the package. Note that
+ if HOST_LIBFOO_VERSION
doesn't exist, it is assumed
+ to be the same as LIBFOO_VERSION
. It can also be a
+ Subversion or Git branch or tag, for packages that are fetched
+ directly from their revision control system.LIBFOO_VERSION = 0.1.2
LIBFOO_SOURCE
may contain the name of the tarball of
@@ -1018,13 +1021,38 @@ $(eval $(call GENTARGETS,package,libfoo,host))
in the package directory inside Buildroot will be applied to the
package after extraction.LIBFOO_SITE
may contain the Internet location of the
- tarball of the package. If HOST_LIBFOO_SITE
is not
- specified, it defaults to LIBFOO_SITE
. If none are
- specified, then the location is assumed to be
+ LIBFOO_SITE
may contain the Internet location
+ of the package. It can either be the HTTP or FTP location of a
+ tarball, or the URL of a Git or Subversion repository
+ (see LIBFOO_SITE_METHOD
+ below). If HOST_LIBFOO_SITE
is not specified, it
+ defaults to LIBFOO_SITE
. If none are specified,
+ then the location is assumed to be
http://$$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/packagename
.
- LIBFOO_SITE=http://www.libfoosoftware.org/libfoo
.LIBFOO_SITE=http://www.libfoosoftware.org/libfoo
LIBFOO_SITE=http://svn.xiph.org/trunk/Tremor/
+
+ LIBFOO_SITE_METHOD
may contain the method to
+ fetch the package source code. It can either
+ be WGET
(for normal FTP/HTTP downloads of
+ tarballs), SVN
or GIT
. When not
+ specified, it is guessed from the URL given
+ in LIBFOO_SITE
: git://
+ and svn://
URLs will use the GIT
+ and SVN
methods respectively. All other URL-types
+ will use the WGET
method. So for example, in the
+ case of a package whose source code is available through
+ Subversion repository on HTTP, one must
+ specifiy LIBFOO_SITE_METHOD=SVN
. For SVN
+ and GIT
methods, what Buildroot does is a
+ checkout/clone of the repository which is then tarballed and
+ stored into the download cache. Next builds will not
+ checkout/clone again, but will use the tarball
+ directly. When HOST_LIBFOO_SITE_METHOD
is not
+ specified, it defaults to the value
+ of LIBFOO_SITE_METHOD
. See package/multimedia/tremor/
+ for an example.LIBFOO_DEPENDENCIES
lists the dependencies (in terms
of package name) that are required for the current target package to