diff options
| -rw-r--r-- | meta-oe/recipes-devtools/mercurial/mercurial_4.4.bb (renamed from meta-oe/recipes-devtools/mercurial/mercurial-native_4.4.bb) | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/mercurial/mercurial-native_4.4.bb b/meta-oe/recipes-devtools/mercurial/mercurial_4.4.bb index 693d4e40dd..90524974ba 100644 --- a/meta-oe/recipes-devtools/mercurial/mercurial-native_4.4.bb +++ b/meta-oe/recipes-devtools/mercurial/mercurial_4.4.bb | |||
| @@ -3,7 +3,11 @@ HOMEPAGE = "http://mercurial.selenic.com/" | |||
| 3 | SECTION = "console/utils" | 3 | SECTION = "console/utils" |
| 4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 6 | DEPENDS = "python-native" | 6 | DEPENDS = "python python-native" |
| 7 | DEPENDS_class-native = "python-native" | ||
| 8 | RDEPENDS_${PN} = "python python-modules" | ||
| 9 | |||
| 10 | inherit python-dir | ||
| 7 | 11 | ||
| 8 | SRC_URI = "https://www.mercurial-scm.org/release/${BP}.tar.gz" | 12 | SRC_URI = "https://www.mercurial-scm.org/release/${BP}.tar.gz" |
| 9 | SRC_URI[md5sum] = "c1d9fad1b7ed7077b0d4ae82e71154db" | 13 | SRC_URI[md5sum] = "c1d9fad1b7ed7077b0d4ae82e71154db" |
| @@ -11,7 +15,7 @@ SRC_URI[sha256sum] = "234af4a67565c85923b0a1910c704ab44bcf12f69b8553268720877656 | |||
| 11 | 15 | ||
| 12 | S = "${WORKDIR}/mercurial-${PV}" | 16 | S = "${WORKDIR}/mercurial-${PV}" |
| 13 | 17 | ||
| 14 | inherit native | 18 | BBCLASSEXTEND = "native" |
| 15 | 19 | ||
| 16 | EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ | 20 | EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ |
| 17 | PREFIX=${prefix}" | 21 | PREFIX=${prefix}" |
| @@ -24,3 +28,4 @@ do_install () { | |||
| 24 | oe_runmake -e install-bin DESTDIR=${D} PREFIX=${prefix} | 28 | oe_runmake -e install-bin DESTDIR=${D} PREFIX=${prefix} |
| 25 | } | 29 | } |
| 26 | 30 | ||
| 31 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}" | ||
