summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/ltrace/.mtn2git_empty (renamed from packages/nonworking/ltrace/.mtn2git_empty)0
-rw-r--r--packages/ltrace/ltrace_0.3.36.bb26
-rw-r--r--packages/nonworking/ltrace/ltrace-0.3.35/.mtn2git_empty0
-rw-r--r--packages/nonworking/ltrace/ltrace-0.3.35/no_global_includes.patch11
-rw-r--r--packages/nonworking/ltrace/ltrace_0.3.35.bb11
5 files changed, 26 insertions, 22 deletions
diff --git a/packages/nonworking/ltrace/.mtn2git_empty b/packages/ltrace/.mtn2git_empty
index e69de29bb2..e69de29bb2 100644
--- a/packages/nonworking/ltrace/.mtn2git_empty
+++ b/packages/ltrace/.mtn2git_empty
diff --git a/packages/ltrace/ltrace_0.3.36.bb b/packages/ltrace/ltrace_0.3.36.bb
new file mode 100644
index 0000000000..aa116602ab
--- /dev/null
+++ b/packages/ltrace/ltrace_0.3.36.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "ltrace shows runtime library call information for dynamically linked executables."
+SECTION = "devel"
+DEPENDS = "libelf"
+LICENSE = "GPL"
+
+SRC_URI = "ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.3.36.orig.tar.gz\
+ ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.3.36-2.diff.gz;patch=1\
+ file://mvc-toolchain.patch;patch=1"
+# file://diska-ltrace-conf.patch;patch=1"
+
+inherit autotools
+
+PARALLEL_MAKE = ""
+EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} \
+ INSTALL_FILE='$(INSTALL) -p -m 0644' \
+ INSTALL_PROGRAM='$(INSTALL) -p -m 0755' \
+ INSTALL_SCRIPT='$(INSTALL) -p -m 0755' \
+ INSTALL_DIR='$(INSTALL) -p -d -m 0755' "
+
+export TARGET_CFLAGS = "${SELECTED_OPTIMIZATION} -isystem ${STAGING_DIR}/${TARGET_SYS}/include"
+
+do_compile() {
+ oe_runmake LDFLAGS=${TARGET_LDFLAGS} LIBS="-lsupc++ -liberty -Wl,-Bstatic -lelf -Wl,-Bdynamic" ${EXTRA_OEMAKE}
+}
+
+do_install() {
diff --git a/packages/nonworking/ltrace/ltrace-0.3.35/.mtn2git_empty b/packages/nonworking/ltrace/ltrace-0.3.35/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/nonworking/ltrace/ltrace-0.3.35/.mtn2git_empty
+++ /dev/null
diff --git a/packages/nonworking/ltrace/ltrace-0.3.35/no_global_includes.patch b/packages/nonworking/ltrace/ltrace-0.3.35/no_global_includes.patch
deleted file mode 100644
index 7c154861b7..0000000000
--- a/packages/nonworking/ltrace/ltrace-0.3.35/no_global_includes.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ltrace-0.3.35/Makefile.old 2003-03-30 16:38:05.000000000 +0200
-+++ ltrace-0.3.35/Makefile.in 2004-08-14 20:40:50.000000000 +0200
-@@ -14,7 +14,7 @@
- docdir = $(prefix)/doc/ltrace
-
- CC = @CC@
--CPPFLAGS = -I$(TOPDIR) -I$(TOPDIR)/sysdeps/$(OS) -I- @DEFS@
-+CPPFLAGS = -I$(TOPDIR) -I$(TOPDIR)/sysdeps/$(OS) @DEFS@
- CFLAGS = -Wall @CFLAGS@ -DSYSCONFDIR=\"$(sysconfdir)\"
- LDFLAGS =
- LIBS = @LIBS@
diff --git a/packages/nonworking/ltrace/ltrace_0.3.35.bb b/packages/nonworking/ltrace/ltrace_0.3.35.bb
deleted file mode 100644
index 48df0a60c0..0000000000
--- a/packages/nonworking/ltrace/ltrace_0.3.35.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-DESCRIPTION = "ltrace is a library call tracing tool."
-PR = "1"
-
-SRC_URI = "${DEBIAN_MIRROR}/main/l/ltrace/ltrace_0.3.35.tar.gz \
- file://no_global_includes.patch;patch=1 "
-
-inherit autotools
-
-EXTRA_OEMAKE = "ARCH=${HOST_ARCH}"
-
-S = "${WORKDIR}/ltrace-${PV}"