Add git-native 1.5.3 (from poky)
authorRichard Purdie <rpurdie@rpsys.net>
Sat, 1 Dec 2007 19:04:36 +0000 (19:04 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Sat, 1 Dec 2007 19:04:36 +0000 (19:04 +0000)
packages/git/git-native_1.5.3.bb [new file with mode: 0644]
packages/git/git.inc [new file with mode: 0644]

diff --git a/packages/git/git-native_1.5.3.bb b/packages/git/git-native_1.5.3.bb
new file mode 100644 (file)
index 0000000..935c773
--- /dev/null
@@ -0,0 +1,4 @@
+require git.inc
+inherit native
+DEPENDS = "openssl-native curl-native zlib-native expat-native"
+PR = "r1"
diff --git a/packages/git/git.inc b/packages/git/git.inc
new file mode 100644 (file)
index 0000000..7115d44
--- /dev/null
@@ -0,0 +1,19 @@
+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}"
+
+EXTRA_OEMAKE = "NO_TCLTL=1"
+
+inherit autotools
+
+do_install () {
+       oe_runmake install prefix=${D} bindir=${D}${bindir} \
+               template_dir=${D}${datadir}/git-core/templates \
+               GIT_PYTHON_DIR=${D}${datadir}/git-core/python
+}
+
+FILES_${PN} += "${datadir}/git-core"