summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2007-08-19 10:57:33 +0000
committerPhilipp Zabel <philipp.zabel@gmail.com>2007-08-19 10:57:33 +0000
commit3f2af8e708acc5f64e507ed235c4285554b110c3 (patch)
tree98994c18ac1a129cb6da451492eb82dda81e1dbd /packages
parent93f1b7bf19631225ab8fbf8c08c2c4e7c5f55553 (diff)
duma: add duma-2.5.7, a red-zone memory allocator
Diffstat (limited to 'packages')
-rw-r--r--packages/duma/.mtn2git_empty0
-rw-r--r--packages/duma/duma_2.5.7.bb27
2 files changed, 27 insertions, 0 deletions
diff --git a/packages/duma/.mtn2git_empty b/packages/duma/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/duma/.mtn2git_empty
diff --git a/packages/duma/duma_2.5.7.bb b/packages/duma/duma_2.5.7.bb
new file mode 100644
index 0000000000..d4bc416234
--- /dev/null
+++ b/packages/duma/duma_2.5.7.bb
@@ -0,0 +1,27 @@
+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_SYS} ./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"
+}