summaryrefslogtreecommitdiff
path: root/recipes/git/git_1.7.0.2.bb
blob: be7a526d1c7dcebc884bc28843ea77fead81fa26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require git.inc

SRC_URI[src.md5sum] = "76518fa774b36de81d160b85fa4f19c1"
SRC_URI[src.sha256sum] = "5601df7fc282fdd66de196b282694eb77dcfc50438f01587de144b3ead1a6b2f"

SRC_URI += "file://git-less-hardlinks.diff"

EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no ac_cv_c_c99_format=yes"


DEPENDS = "openssl curl zlib expat"
RDEPENDS_${PN} = "perl perl-module-file-path cpio findutils sed"

# Dropbear ssh needs a wrapper script, so install openssh-ssh to make it work out of the box
RRECOMMENDS_${PN} = "openssh-ssh"

PR = "r7"

do_install_append() {
	# Fix broken hardlinks
	for gitprog in git-receive-pack git-upload-archive ; do
		rm ${D}${bindir}/$gitprog 
		ln -sf ${bindir}/git ${D}${bindir}/$gitprog
	done
	rm ${D}${libexecdir}/git-core/git && ln -sf ${bindir}/git ${D}${libexecdir}/git-core/git
}

FILES_${PN}-dbg += "${libexecdir}/git-core/.debug"