summaryrefslogtreecommitdiff
path: root/bison/bison-native_1.875.oe
blob: 21eeb5cf670899fd3423a8f13743ef3c93b18080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
include bison_${PV}.oe
SECTION = "devel"
FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/bison-${PV}"
S = "${WORKDIR}/bison-${PV}"

inherit native autotools

do_stage() {
	install -m 0755 src/bison ${STAGING_BINDIR}/
	ln -sf ./bison ${STAGING_BINDIR}/yacc
	install -d ${STAGING_BINDIR}/../share/bison/m4sugar
	install -m 0755 data/c.m4 data/glr.c data/lalr1.cc data/yacc.c ${STAGING_BINDIR}/../share/bison/
	install -m 0755 data/m4sugar/m4sugar.m4 ${STAGING_BINDIR}/../share/bison/m4sugar/
}