git: minor fixes to make git work on the device. Closes #2226 and #2240
authorMichael Krelin <hacker@klever.net>
Tue, 8 May 2007 15:48:50 +0000 (15:48 +0000)
committerMichael Krelin <hacker@klever.net>
Tue, 8 May 2007 15:48:50 +0000 (15:48 +0000)
- Adjust path to templates directory to fix `git init-db`
- Make it depend on cpio and findutils as at least local `git clone` relies on them.

packages/git/git_1.4.4.2.bb

index 37f71cf..5a22f04 100644 (file)
@@ -1,3 +1,11 @@
 require git.inc
 DEPENDS = "openssl curl"
-RDEPENDS = "perl perl-module-file-path"
+RDEPENDS = "perl perl-module-file-path cpio findutils"
+
+PR="r1"
+
+do_install() {
+       oe_runmake install DESTDIR="${D}" bindir="${bindir}" \
+               template_dir="${datadir}/git-core/templates" \
+               GIT_PYTHON_DIR="${datadir}/git-core/python"
+}