diff options
| author | Michael Lauer <mickey@vanille-media.de> | 2005-09-14 09:04:51 +0000 |
|---|---|---|
| committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-14 09:04:51 +0000 |
| commit | 3e55b3b6242d97286fd15e420848cd5b6dc2052b (patch) | |
| tree | d55d7f1cf0d199ee629d2b64258a4a50b1079fa2 /packages/git | |
| parent | d4b352bfeb515fb07f1b44c0332627de1d4fdeb0 (diff) | |
| parent | 18d316ca0c6bd7c9618abfd9f930519c4c04a611 (diff) | |
merge of ef08017d3c998883e45efdd77c3eb501cab7bc4b
and fc456cb461c57dc85e202c08bb32e3d8adedcd04
Diffstat (limited to 'packages/git')
| -rw-r--r-- | packages/git/.mtn2git_empty | 0 | ||||
| -rw-r--r-- | packages/git/files/.mtn2git_empty | 0 | ||||
| -rw-r--r-- | packages/git/files/Makefile.patch | 13 | ||||
| -rw-r--r-- | packages/git/git-native.bb | 8 | ||||
| -rw-r--r-- | packages/git/git.bb | 21 |
5 files changed, 42 insertions, 0 deletions
diff --git a/packages/git/.mtn2git_empty b/packages/git/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/git/.mtn2git_empty diff --git a/packages/git/files/.mtn2git_empty b/packages/git/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/git/files/.mtn2git_empty diff --git a/packages/git/files/Makefile.patch b/packages/git/files/Makefile.patch new file mode 100644 index 0000000000..0a82649db9 --- /dev/null +++ b/packages/git/files/Makefile.patch @@ -0,0 +1,13 @@ +Index: git-snapshot-20050912/Makefile +=================================================================== +--- git-snapshot-20050912.orig/Makefile 2005-09-11 03:46:53.000000000 +0100 ++++ git-snapshot-20050912/Makefile 2005-09-12 12:18:38.000000000 +0100 +@@ -239,7 +240,7 @@ + $(CC) -o $*.o -c $(ALL_CFLAGS) $< + + git-%: %.o $(LIB_FILE) +- $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) $(LIBS) ++ $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) $(LIBS) $(LDFLAGS) + + git-mailinfo : SIMPLE_LIB += $(LIB_4_ICONV) + $(SIMPLE_PROGRAMS) : $(LIB_FILE) diff --git a/packages/git/git-native.bb b/packages/git/git-native.bb new file mode 100644 index 0000000000..1bd495f085 --- /dev/null +++ b/packages/git/git-native.bb @@ -0,0 +1,8 @@ +include git.bb +inherit native + +do_stage () { + oe_runmake install bindir=${STAGING_BINDIR} \ + template_dir=${STAGING_DIR}/${BUILD_SYS}/share/git-core/templates/ \ + GIT_PYTHON_DIR=${STAGING_DIR}/${BUILD_SYS}/share/git-core/python +} diff --git a/packages/git/git.bb b/packages/git/git.bb new file mode 100644 index 0000000000..3a1228d621 --- /dev/null +++ b/packages/git/git.bb @@ -0,0 +1,21 @@ +SECTION = "console/utils" +LICENSE = "GPL" +DESCRIPTION = "The git revision control system used by the Linux kernel developers" +DEPENDS = "openssl curl" +MAINTAINER = "Richard Purdie <rpurdie@rpsys.net>" + +PKGDATE = "${@time.strftime('%Y-%m-%d',time.gmtime())}" + +SRC_URI = "http://www.codemonkey.org.uk/projects/git-snapshots/git/git-${PKGDATE}.tar.gz \ + file://Makefile.patch;patch=1" + +S = "${WORKDIR}/git-snapshot-${DATE}" + +FILES_${PN} += "${datadir}/git-core" + +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 +} + |
