diff options
author | Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com> | 2017-01-03 08:13:53 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-01-10 13:12:56 +0100 |
commit | cabf72ebbfbed41db228e978400e63ae8f0cc7b1 (patch) | |
tree | 8fbfc644e41686031bd4f2c33dc6335fc06411b4 /meta-oe/recipes-devtools/mercurial/mercurial-native_4.0.1.bb | |
parent | 9a60a2336824ca010f8fb06e0923655b93c256ef (diff) | |
download | meta-openembedded-contrib-cabf72ebbfbed41db228e978400e63ae8f0cc7b1.tar.gz |
mercurial: upgrade to 4.0.1
Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/mercurial/mercurial-native_4.0.1.bb')
-rw-r--r-- | meta-oe/recipes-devtools/mercurial/mercurial-native_4.0.1.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/mercurial/mercurial-native_4.0.1.bb b/meta-oe/recipes-devtools/mercurial/mercurial-native_4.0.1.bb new file mode 100644 index 0000000000..028bb4232d --- /dev/null +++ b/meta-oe/recipes-devtools/mercurial/mercurial-native_4.0.1.bb @@ -0,0 +1,26 @@ +SUMMARY = "The Mercurial distributed SCM" +HOMEPAGE = "http://mercurial.selenic.com/" +SECTION = "console/utils" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +DEPENDS = "python-native" + +SRC_URI = "https://www.mercurial-scm.org/release/${BP}.tar.gz" +SRC_URI[md5sum] = "22a9b1d7c0c06a53f0ae5b386d536d08" +SRC_URI[sha256sum] = "6aa4ade93c1b5e11937820880a466ebf1c824086d443cd799fc46e2617250d40" + +S = "${WORKDIR}/mercurial-${PV}" + +inherit native + +EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ + PREFIX=${prefix}" + +do_configure_append () { + sed -i -e 's:PYTHON=python:PYTHON=${STAGING_BINDIR_NATIVE}/python-native/python:g' ${S}/Makefile +} + +do_install () { + oe_runmake -e install-bin DESTDIR=${D} PREFIX=${prefix} +} + |