summaryrefslogtreecommitdiff
path: root/recipes/mercurial/mercurial-native_1.6.3.bb
blob: 717f8f6f9dcdb9eeba3b9a9d0bfa8e37edefaa2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "The Mercurial distributed SCM"
HOMEPAGE = "http://mercurial.selenic.com/"
SECTION = "console/utils"
LICENSE = "GPLv2"
DEPENDS = "python-native"
PR = "r0"

SRC_URI = "http://mercurial.selenic.com/release/mercurial-${PV}.tar.gz;name=src"
SRC_URI[src.md5sum] = "fcd61edc488d1b9aa831dde6f14d9a13"
SRC_URI[src.sha256sum] = "57e5d26d35fbec71206378e3af111193e6eee7bb1dfb6447bbc4b9e03ce937bd"

S = "${WORKDIR}/mercurial-${PV}"

inherit native

EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \
        BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} PREFIX=${prefix}"

do_install () {
        oe_runmake -e install DESTDIR=${D} PREFIX=${prefix}
}