mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-25 20:26:34 +00:00
Add FAQ entry how to properly add package from github.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
c2d525e82d
commit
a84840bfe9
@ -36,3 +36,24 @@ then probably you are running a Fedora (or similar) distribution, and
|
|||||||
you should install the +glibc-static+ package. This is because the
|
you should install the +glibc-static+ package. This is because the
|
||||||
+module-init-tools+ build process wants to link statically against the
|
+module-init-tools+ build process wants to link statically against the
|
||||||
C library.
|
C library.
|
||||||
|
|
||||||
|
How to add package from github
|
||||||
|
------------------------------
|
||||||
|
|
||||||
|
If the package has no release version, or its version cannot be
|
||||||
|
identified using tag, then the sha1 of the particular commit should be
|
||||||
|
used to identify the version (the first 7 characters of the sha1 are
|
||||||
|
enough):
|
||||||
|
|
||||||
|
------------------------
|
||||||
|
FOO_VERSION = 1234567
|
||||||
|
FOO_SITE = http://github.com/<user>/<package>/tarball/<branch>
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
If the package version matches a tag, then this tag should be used to
|
||||||
|
identify the version:
|
||||||
|
|
||||||
|
------------------------
|
||||||
|
FOO_VERSION = v1.0
|
||||||
|
FOO_SITE = http://github.com/<user>/<package>/tarball/$(FOO_VERSION)
|
||||||
|
------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user