27 lines
799 B
BlitzBasic
27 lines
799 B
BlitzBasic
|
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] = "cec2c3db688cb87142809089c6ae13e9"
|
||
|
SRC_URI[sha256sum] = "4b2e3ef19d34fa1d781cb7425506a05d4b6b1172bab69d6ea78874175fdf3da6"
|
||
|
|
||
|
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}
|
||
|
}
|
||
|
|