summaryrefslogtreecommitdiff
path: root/recipes/duma/duma_2.5.7.bb
blob: 4b05ab348223e872de771af1a0c5f662a94d4243 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
DESCRIPTION = "A Red-Zone memory allocator to detect unintended memory access"
HOMEPAGE = "http://duma.sourceforge.net"
LICENSE = "GPL LGPL"
SECTION = "devel"
DEPENDS = "qemu-native"

SRC_URI = "${SOURCEFORGE_MIRROR}/duma/duma_2_5_7.tar.gz"

S = "${WORKDIR}/duma_2_5_7"

EXTRA_OECONF = "-e"

do_configure () {
	oe_runmake createconf
	qemu-${TARGET_ARCH} -L ${STAGING_DIR_HOST} ./createconf
}

do_compile () {
	oe_runmake libduma.a libduma.so.0.0
}

do_install () {
	install -d ${D}${base_bindir}
	install -d ${D}${base_libdir}
	install -d ${D}${mandir}/man3
	oe_runmake install prefix="${D}" MAN_INSTALL_DIR="${D}${mandir}/man3"
}

SRC_URI[md5sum] = "d3e981cdc2b78de652215da9b4ac399f"
SRC_URI[sha256sum] = "6d851f4117002d3523354b70c3f9be4abe5325b084ff54d01ac6daa5ce9a5944"