diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/bison/bison-native_2.0.bb | |
parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
download | poky-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.bb | 21 |
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 @@ | |||
1 | include bison_${PV}.bb | ||
2 | SECTION = "devel" | ||
3 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/bison-${PV}" | ||
4 | S = "${WORKDIR}/bison-${PV}" | ||
5 | PR = "r2" | ||
6 | |||
7 | inherit native autotools | ||
8 | |||
9 | do_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 | ||
15 | exec ${STAGING_BINDIR}/bison -y "\$@" | ||
16 | EOF | ||
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 | } | ||