diff options
Diffstat (limited to 'meta/recipes-devtools/git/git.inc')
| -rw-r--r-- | meta/recipes-devtools/git/git.inc | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc index 843a1d3511..7f12859792 100644 --- a/meta/recipes-devtools/git/git.inc +++ b/meta/recipes-devtools/git/git.inc | |||
| @@ -14,11 +14,39 @@ EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl --without-tcltk" | |||
| 14 | inherit autotools | 14 | inherit autotools |
| 15 | 15 | ||
| 16 | do_install () { | 16 | do_install () { |
| 17 | oe_runmake install DESTDIR="${D}" bindir=${bindir} gitexecdir=${gitexecdir} \ | 17 | oe_runmake install DESTDIR="${D}" bindir=${bindir} \ |
| 18 | template_dir=${datadir}/git-core/templates \ | 18 | template_dir=${datadir}/git-core/templates \ |
| 19 | GIT_PYTHON_DIR=${D}${datadir}/git-core/python | 19 | GIT_PYTHON_DIR=${D}${datadir}/git-core/python |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | FILES_${PN} += "${datadir}/git-core" | 22 | FILES_${PN} += "${datadir}/git-core ${libxecdir}/git-core/" |
| 23 | FILES_${PN}-dbg += "${libexecdir}/git-core/.debug" | ||
| 24 | |||
| 25 | # Git tools requiring perl | ||
| 26 | PACKAGES =+ "${PN}-perltools" | ||
| 27 | FILES_${PN}-perltools += " \ | ||
| 28 | ${libexecdir}/git-core/git-add--interactive \ | ||
| 29 | ${libexecdir}/git-core/git-archimport \ | ||
| 30 | ${libexecdir}/git-core/git-cvsexportcommit \ | ||
| 31 | ${libexecdir}/git-core/git-cvsimport \ | ||
| 32 | ${libexecdir}/git-core/git-cvsserver \ | ||
| 33 | ${bindir}/git-cvsserver \ | ||
| 34 | ${libexecdir}/git-core/git-difftool \ | ||
| 35 | ${libexecdir}/git-core/git-relink \ | ||
| 36 | ${libexecdir}/git-core/git-send-email \ | ||
| 37 | ${libexecdir}/git-core/git-svn \ | ||
| 38 | ${datadir}/perl \ | ||
| 39 | " | ||
| 40 | RDEPENDS_${PN}-perltools = "${PN} perl perl-module-file-path findutils" | ||
| 41 | |||
| 42 | # git-tk package with gitk and git-gui | ||
| 43 | PACKAGES =+ "${PN}-tk" | ||
| 44 | RDEPENDS_${PN}-tk = "${PN} tk tcl" | ||
| 45 | EXTRA_OEMAKE = "TCL_PATH=${STAGING_BINDIR_CROSS}/tclsh" | ||
| 46 | FILES_${PN}-tk = " \ | ||
| 47 | ${bindir}/gitk \ | ||
| 48 | ${datadir}/gitk \ | ||
| 49 | " | ||
| 50 | |||
| 23 | 51 | ||
| 24 | BBCLASSEXTEND = "native" | 52 | BBCLASSEXTEND = "native" |
