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