summaryrefslogtreecommitdiffstats
path: root/recipes/git/git.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/git/git.inc')
-rw-r--r--recipes/git/git.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/git/git.inc b/recipes/git/git.inc
new file mode 100644
index 0000000000..fb88fd4135
--- /dev/null
+++ b/recipes/git/git.inc
@@ -0,0 +1,20 @@
+DESCRIPTION = "The git revision control system used by the Linux kernel developers"
+SECTION = "console/utils"
+LICENSE = "GPL"
+
+SRC_URI = "http://www.kernel.org/pub/software/scm/git/git-${PV}.tar.bz2 \
+ file://autotools.patch;patch=1 \
+ "
+S = "${WORKDIR}/git-${PV}"
+
+inherit autotools
+
+EXTRA_OEMAKE = "NO_TCLTK=1"
+
+do_install () {
+ oe_runmake install DESTDIR="${D}" bindir=${bindir} \
+ template_dir=${datadir}/git-core/templates \
+ GIT_PYTHON_DIR=${datadir}/git-core/python
+}
+
+FILES_${PN} += "${datadir}/git-core"