From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/treecc/treecc-0.3.6/dont-make-in-examples.patch | 12 ++++++++++++ recipes/treecc/treecc-native_0.3.6.bb | 11 +++++++++++ recipes/treecc/treecc_0.3.6.bb | 11 +++++++++++ 3 files changed, 34 insertions(+) create mode 100644 recipes/treecc/treecc-0.3.6/dont-make-in-examples.patch create mode 100644 recipes/treecc/treecc-native_0.3.6.bb create mode 100644 recipes/treecc/treecc_0.3.6.bb (limited to 'recipes/treecc') diff --git a/recipes/treecc/treecc-0.3.6/dont-make-in-examples.patch b/recipes/treecc/treecc-0.3.6/dont-make-in-examples.patch new file mode 100644 index 0000000000..b722552565 --- /dev/null +++ b/recipes/treecc/treecc-0.3.6/dont-make-in-examples.patch @@ -0,0 +1,12 @@ +diff -Nurd treecc-0.3.6.orig/Makefile.in treecc-0.3.6/Makefile.in +--- treecc-0.3.6.orig/Makefile.in 2005-01-15 15:16:06.000000000 -0800 ++++ treecc-0.3.6/Makefile.in 2005-08-12 15:36:24.481697542 -0700 +@@ -77,7 +77,7 @@ + VERSION = @VERSION@ + YACC = @YACC@ + +-SUBDIRS = . etc doc tests examples ++SUBDIRS = . etc doc tests + + bin_PROGRAMS = treecc + noinst_LIBRARIES = libtreecc.a diff --git a/recipes/treecc/treecc-native_0.3.6.bb b/recipes/treecc/treecc-native_0.3.6.bb new file mode 100644 index 0000000000..bcdd2e7677 --- /dev/null +++ b/recipes/treecc/treecc-native_0.3.6.bb @@ -0,0 +1,11 @@ +require treecc_${PV}.bb +SECTION = "devel" +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/treecc-${PV}" +S = "${WORKDIR}/treecc-${PV}" + +inherit native autotools + +do_stage() { + rm -f ${STAGING_BINDIR}/treecc + install -m 0755 treecc ${STAGING_BINDIR}/ +} diff --git a/recipes/treecc/treecc_0.3.6.bb b/recipes/treecc/treecc_0.3.6.bb new file mode 100644 index 0000000000..e54beb4810 --- /dev/null +++ b/recipes/treecc/treecc_0.3.6.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "Tree Compiler-Compiler from dotGNU" +SECTION = "devel" +LICENSE = "GPLv2" +HOMEPAGE = "http://www.southern-storm.com.au/treecc.html" +PRIORITY = "optional" + +SRC_URI = "http://www.southern-storm.com.au/download/treecc-${PV}.tar.gz \ + file://dont-make-in-examples.patch;patch=1" + +inherit autotools + -- cgit 1.2.3-korg