summaryrefslogtreecommitdiff
path: root/yocto-poky/meta/recipes-devtools/remake
diff options
context:
space:
mode:
Diffstat (limited to 'yocto-poky/meta/recipes-devtools/remake')
-rw-r--r--yocto-poky/meta/recipes-devtools/remake/remake.inc16
-rw-r--r--yocto-poky/meta/recipes-devtools/remake/remake/version-remake.texi.patch16
-rw-r--r--yocto-poky/meta/recipes-devtools/remake/remake_4.1+dbg-1.1.bb27
3 files changed, 59 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-devtools/remake/remake.inc b/yocto-poky/meta/recipes-devtools/remake/remake.inc
new file mode 100644
index 000000000..df889fcf9
--- /dev/null
+++ b/yocto-poky/meta/recipes-devtools/remake/remake.inc
@@ -0,0 +1,16 @@
+SUMMARY = "Makefile debugger which is gnumake compatible"
+DESCRIPTION = "remake is a patched and modernized version of GNU make \
+utility that adds improved error reporting, the ability to trace \
+execution in a comprehensible way, and a debugger."
+
+HOMEPAGE = "http://bashdb.sourceforge.net/remake/"
+SECTION = "devel"
+
+SRC_URI = "git://github.com/rocky/remake.git"
+
+inherit autotools gettext update-alternatives pkgconfig
+
+ALTERNATIVE_${PN} = "make"
+ALTERNATIVE_LINK_NAME[make] = "${bindir}/make"
+ALTERNATIVE_TARGET[make] = "${bindir}/remake"
+ALTERNATIVE_PRIORITY = "100"
diff --git a/yocto-poky/meta/recipes-devtools/remake/remake/version-remake.texi.patch b/yocto-poky/meta/recipes-devtools/remake/remake/version-remake.texi.patch
new file mode 100644
index 000000000..fa6329e06
--- /dev/null
+++ b/yocto-poky/meta/recipes-devtools/remake/remake/version-remake.texi.patch
@@ -0,0 +1,16 @@
+Upstream-Status: Pending
+
+version-remake.texi is not there but it is required by remake.texi,
+just add it for getting the 'make remake.info' works.
+
+==============================================================
+diff --git a/doc/version-remake.texi b/doc/version-remake.texi
+new file mode 100644
+index 0000000..2a3b72b
+--- /dev/null
++++ b/doc/version-remake.texi
+@@ -0,0 +1,4 @@
++@set UPDATED 10 June 2012
++@set UPDATED-MONTH June 2012
++@set EDITION 3.82+dbg-0.9git
++@set VERSION 3.82+dbg-0.9git
diff --git a/yocto-poky/meta/recipes-devtools/remake/remake_4.1+dbg-1.1.bb b/yocto-poky/meta/recipes-devtools/remake/remake_4.1+dbg-1.1.bb
new file mode 100644
index 000000000..c61913d05
--- /dev/null
+++ b/yocto-poky/meta/recipes-devtools/remake/remake_4.1+dbg-1.1.bb
@@ -0,0 +1,27 @@
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
+ file://tests/COPYING;md5=d32239bcb673463ab874e80d47fae504 \
+ file://glob/COPYING.LIB;md5=4a770b67e6be0f60da244beb2de0fce4"
+require remake.inc
+
+SRC_URI += "file://version-remake.texi.patch \
+ "
+SRCREV = "cf54641d50a0165bb17622b3e9770f426ccbc561"
+S = "${WORKDIR}/git"
+
+DEPENDS += "readline guile"
+# Need to add "gettext-native" dependency to remake-native.
+# By default only "gettext-minimal-native" is added
+# when inherit gettext.
+DEPENDS_class-native += "gettext-native"
+PROVIDES += "make"
+
+do_configure_prepend() {
+ # remove the default LINGUAS since we are not going to generate languages
+ rm ${S}/po/LINGUAS
+ touch ${S}/po/LINGUAS
+ # create config.rpath which required by configure.ac
+ ( cd ${S}; autopoint || touch config.rpath )
+}
+
+BBCLASSEXTEND = "native"