summaryrefslogtreecommitdiff
path: root/packages/treecc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/treecc')
-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.bb12
-rw-r--r--packages/treecc/treecc_0.3.6.bb12
5 files changed, 36 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..06524f1cb7
--- /dev/null
+++ b/packages/treecc/treecc-native_0.3.6.bb
@@ -0,0 +1,12 @@
+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}"
+
+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..bd8e992724
--- /dev/null
+++ b/packages/treecc/treecc_0.3.6.bb
@@ -0,0 +1,12 @@
+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"
+
+SRC_URI = "http://www.southern-storm.com.au/download/treecc-${PV}.tar.gz \
+ file://dont-make-in-examples.patch;patch=1"
+
+inherit autotools
+