aboutsummaryrefslogtreecommitdiffstats
path: root/packages/git/git.bb
blob: 7d5c2cbc35a5be781f4b3df21ae9879908e7a0e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SECTION = "console/utils"
LICENSE = "GPL"
DESCRIPTION = "The git revision control system used by the Linux kernel developers"
DEPENDS = "openssl curl"

PKGDATE = "${@time.strftime('%Y-%m-%d',time.gmtime())}"

SRC_URI = "http://www.codemonkey.org.uk/projects/git-snapshots/git/git-${PKGDATE}.tar.gz"

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
}