summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/mercurial/mercurial-native_4.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/mercurial/mercurial-native_4.4.bb')
-rw-r--r--meta-oe/recipes-devtools/mercurial/mercurial-native_4.4.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/mercurial/mercurial-native_4.4.bb b/meta-oe/recipes-devtools/mercurial/mercurial-native_4.4.bb
new file mode 100644
index 000000000..693d4e40d
--- /dev/null
+++ b/meta-oe/recipes-devtools/mercurial/mercurial-native_4.4.bb
@@ -0,0 +1,26 @@
1SUMMARY = "The Mercurial distributed SCM"
2HOMEPAGE = "http://mercurial.selenic.com/"
3SECTION = "console/utils"
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6DEPENDS = "python-native"
7
8SRC_URI = "https://www.mercurial-scm.org/release/${BP}.tar.gz"
9SRC_URI[md5sum] = "c1d9fad1b7ed7077b0d4ae82e71154db"
10SRC_URI[sha256sum] = "234af4a67565c85923b0a1910c704ab44bcf12f69b85532687208776563d87de"
11
12S = "${WORKDIR}/mercurial-${PV}"
13
14inherit native
15
16EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \
17 PREFIX=${prefix}"
18
19do_configure_append () {
20 sed -i -e 's:PYTHON=python:PYTHON=${STAGING_BINDIR_NATIVE}/python-native/python:g' ${S}/Makefile
21}
22
23do_install () {
24 oe_runmake -e install-bin DESTDIR=${D} PREFIX=${prefix}
25}
26