summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-08-15 21:16:03 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-15 21:16:03 +0000
commitafa0fb017bad8c6ff96e5fae31eef4acb179b847 (patch)
treece80cf6d99782fe980321e8b8d9cdb4369fe72dc
parent6441f3920f6a6cc755c6c9a094d27fc2675ee370 (diff)
Add treecc, closes #226
-rw-r--r--packages/treecc/.mtn2git_empty0
-rw-r--r--packages/treecc/treecc-0.3.6/.mtn2git_empty0
-rw-r--r--packages/treecc/treecc-0.3.6/dont-make-in-examples.patch12
-rw-r--r--packages/treecc/treecc-native_0.3.6.bb13
-rw-r--r--packages/treecc/treecc_0.3.6.bb13
5 files changed, 38 insertions, 0 deletions
diff --git a/packages/treecc/.mtn2git_empty b/packages/treecc/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/treecc/.mtn2git_empty
diff --git a/packages/treecc/treecc-0.3.6/.mtn2git_empty b/packages/treecc/treecc-0.3.6/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/treecc/treecc-0.3.6/.mtn2git_empty
diff --git a/packages/treecc/treecc-0.3.6/dont-make-in-examples.patch b/packages/treecc/treecc-0.3.6/dont-make-in-examples.patch
new file mode 100644
index 0000000000..b722552565
--- /dev/null
+++ b/packages/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/packages/treecc/treecc-native_0.3.6.bb b/packages/treecc/treecc-native_0.3.6.bb
new file mode 100644
index 0000000000..bfd9d8cf7f
--- /dev/null
+++ b/packages/treecc/treecc-native_0.3.6.bb
@@ -0,0 +1,13 @@
+include treecc_${PV}.bb
+SECTION = "devel"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/treecc-${PV}"
+MAINTAINER = "Kirill Kononenko <krokas@aport.ru"
+S = "${WORKDIR}/treecc-${PV}"
+PR = ""
+
+inherit native autotools
+
+do_stage() {
+ rm -f ${STAGING_BINDIR}/treecc
+ install -m 0755 treecc ${STAGING_BINDIR}/
+}
diff --git a/packages/treecc/treecc_0.3.6.bb b/packages/treecc/treecc_0.3.6.bb
new file mode 100644
index 0000000000..f835acdbf5
--- /dev/null
+++ b/packages/treecc/treecc_0.3.6.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "Tree Compiler-Compiler from dotGNU"
+SECTION = "devel"
+LICENSE = "GPL-2"
+HOMEPAGE = "http://www.southern-storm.com.au/treecc.html"
+MAINTAINER = "Kirill Kononenko <krokas@aport.ru>"
+PRIORITY = "optional"
+PR = ""
+
+SRC_URI = "http://www.southern-storm.com.au/download/treecc-${PV}.tar.gz \
+ file://dont-make-in-examples.patch;patch=1"
+
+inherit autotools
+