types for retrieving package tarballs. Git, Subversion, Mercurial,
and Bazaar are supported URL types for retrieving packages directly
from source code management systems. There is a helper function to make
- it easier to download source tarballs from github (refer to
+ it easier to download source tarballs from GitHub (refer to
xref:github-download-url[] for details). A filesystem path may be used
to specify either a tarball or a directory containing the package
source code. See +LIBFOO_SITE_METHOD+ below for more details on how
[[github-download-url]]
-==== How to add a package from github
+==== How to add a package from GitHub
-Packages on github often don't have a download area with release tarballs.
+Packages on GitHub often don't have a download area with release tarballs.
However, it is possible to download tarballs directly from the repository
-on github. As github is known to have changed download mechanisms in the
+on GitHub. As GitHub is known to have changed download mechanisms in the
past, the 'github' helper function should be used as shown below.
------------------------
E2TOOLS_VERSION = 3158ef18a903ca4a98b8fa220c9fc5c133d8bdf6
E2TOOLS_SITE = $(call github,ndim,e2tools,$(E2TOOLS_VERSION))
-# Source coming from github, no configure included.
+# Source coming from GitHub, no configure included.
E2TOOLS_AUTORECONF = YES
E2TOOLS_LICENSE = GPLv2
E2TOOLS_LICENSE_FILES = COPYING
LIBSHA1_INSTALL_STAGING = YES
-# We're getting the source code from Github, so there is no generated
+# We're getting the source code from GitHub, so there is no generated
# configure script in the tarball.
LIBSHA1_AUTORECONF = YES
# default domainseparator is /, specify alternative value as first argument
domainseparator=$(if $(1),$(1),/)
-# github(user,package,version): returns site of github repository
+# github(user,package,version): returns site of GitHub repository
github = https://github.com/$(1)/$(2)/archive/$(3)
################################################################################
SMACK_INSTALL_STAGING = YES
SMACK_DEPENDENCIES = host-pkgconf
-# Sources from github, no configure script included.
+# Sources from GitHub, no configure script included.
SMACK_AUTORECONF = YES
$(eval $(autotools-package))