summaryrefslogtreecommitdiffstats
path: root/meta/packages/bison/bison-native_2.0.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/bison/bison-native_2.0.bb
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/bison/bison-native_2.0.bb')
-rw-r--r--meta/packages/bison/bison-native_2.0.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/bison/bison-native_2.0.bb b/meta/packages/bison/bison-native_2.0.bb
new file mode 100644
index 0000000000..57065cd502
--- /dev/null
+++ b/meta/packages/bison/bison-native_2.0.bb
@@ -0,0 +1,21 @@
1include bison_${PV}.bb
2SECTION = "devel"
3FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/bison-${PV}"
4S = "${WORKDIR}/bison-${PV}"
5PR = "r2"
6
7inherit native autotools
8
9do_stage() {
10 rm -f ${STAGING_BINDIR}/yacc
11 rm -f ${STAGING_BINDIR}/bison
12 install -m 0755 src/bison ${STAGING_BINDIR}/
13 cat >${STAGING_BINDIR}/yacc <<EOF
14#!/bin/sh
15exec ${STAGING_BINDIR}/bison -y "\$@"
16EOF
17 chmod a+rx ${STAGING_BINDIR}/yacc
18 install -d ${STAGING_BINDIR}/../share/bison/m4sugar
19 install -m 0755 data/c.m4 data/glr.c data/lalr1.cc data/yacc.c ${STAGING_BINDIR}/../share/bison/
20 install -m 0755 data/m4sugar/m4sugar.m4 ${STAGING_BINDIR}/../share/bison/m4sugar/
21}