summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/git
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-devtools/git
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/git')
-rw-r--r--meta/recipes-devtools/git/files/autotools.patch14
-rw-r--r--meta/recipes-devtools/git/git.inc22
-rw-r--r--meta/recipes-devtools/git/git_1.7.2.1.bb3
3 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-devtools/git/files/autotools.patch b/meta/recipes-devtools/git/files/autotools.patch
new file mode 100644
index 0000000000..1c69c22817
--- /dev/null
+++ b/meta/recipes-devtools/git/files/autotools.patch
@@ -0,0 +1,14 @@
1Index: git-1.7.2.1/configure.ac
2===================================================================
3--- git-1.7.2.1.orig/configure.ac 2010-07-28 18:03:43.000000000 +0100
4+++ git-1.7.2.1/configure.ac 2010-08-13 14:54:29.181971250 +0100
5@@ -697,7 +697,8 @@
6 else if (strcmp(buf, "12345"))
7 return 2;]])],
8 [ac_cv_c_c99_format=yes],
9- [ac_cv_c_c99_format=no])
10+ [ac_cv_c_c99_format=no],
11+ [ac_cv_c_c99_format=yes])
12 ])
13 if test $ac_cv_c_c99_format = no; then
14 NO_C99_FORMAT=YesPlease
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 @@
1DESCRIPTION = "The git revision control system used by the Linux kernel developers"
2SECTION = "console/utils"
3LICENSE = "GPL"
4DEPENDS = "perl-native openssl curl zlib expat"
5
6SRC_URI = "http://www.kernel.org/pub/software/scm/git/git-${PV}.tar.bz2 \
7 file://autotools.patch;patch=1"
8S = "${WORKDIR}/git-${PV}"
9
10EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl --without-tcltk"
11
12inherit autotools
13
14do_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
20FILES_${PN} += "${datadir}/git-core"
21
22BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/git/git_1.7.2.1.bb b/meta/recipes-devtools/git/git_1.7.2.1.bb
new file mode 100644
index 0000000000..7f822f69b3
--- /dev/null
+++ b/meta/recipes-devtools/git/git_1.7.2.1.bb
@@ -0,0 +1,3 @@
1require git.inc
2
3PR = "r2"