diff options
Diffstat (limited to 'meta/recipes-devtools/git/git.inc')
| -rw-r--r-- | meta/recipes-devtools/git/git.inc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc new file mode 100644 index 0000000000..5d72df59d1 --- /dev/null +++ b/meta/recipes-devtools/git/git.inc | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | DESCRIPTION = "The git revision control system used by the Linux kernel developers" | ||
| 2 | SECTION = "console/utils" | ||
| 3 | LICENSE = "GPL" | ||
| 4 | DEPENDS = "perl-native openssl curl zlib expat" | ||
| 5 | |||
| 6 | SRC_URI = "http://www.kernel.org/pub/software/scm/git/git-${PV}.tar.bz2 \ | ||
| 7 | file://autotools.patch;patch=1" | ||
| 8 | S = "${WORKDIR}/git-${PV}" | ||
| 9 | |||
| 10 | EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl --without-tcltk" | ||
| 11 | |||
| 12 | inherit autotools | ||
| 13 | |||
| 14 | do_install () { | ||
| 15 | oe_runmake install prefix=${D} bindir=${D}${bindir} \ | ||
| 16 | template_dir=${D}${datadir}/git-core/templates \ | ||
| 17 | GIT_PYTHON_DIR=${D}${datadir}/git-core/python | ||
| 18 | } | ||
| 19 | |||
| 20 | FILES_${PN} += "${datadir}/git-core" | ||
| 21 | |||
| 22 | BBCLASSEXTEND = "native" | ||
