2010-11-18 23:43:33 +00:00
|
|
|
SUMMARY = "GNU Project parser generator (yacc replacement)."
|
|
|
|
DESCRIPTION = "Bison is a general-purpose parser generator that converts an annotated context-free grammar into \
|
|
|
|
an LALR(1) or GLR parser for that grammar. Bison is upward compatible with Yacc: all properly-written Yacc \
|
|
|
|
grammars ought to work with Bison with no change. Anyone familiar with Yacc should be able to use Bison with \
|
|
|
|
little trouble."
|
2010-06-23 13:38:40 +00:00
|
|
|
HOMEPAGE = "http://www.gnu.org/software/bison/"
|
2010-11-24 09:19:32 +00:00
|
|
|
LICENSE = "GPLv3"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
2010-06-23 13:38:40 +00:00
|
|
|
SECTION = "devel"
|
2011-08-01 10:16:18 +00:00
|
|
|
DEPENDS = "bison-native flex-native"
|
2010-06-23 13:38:40 +00:00
|
|
|
|
2013-05-07 08:44:34 +00:00
|
|
|
BASE_SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.xz \
|
2013-01-06 23:49:29 +00:00
|
|
|
file://m4.patch \
|
|
|
|
file://dont-depend-on-help2man.patch \
|
|
|
|
"
|
2010-06-23 13:38:40 +00:00
|
|
|
|
2013-03-18 00:03:03 +00:00
|
|
|
# No point in hardcoding path to m4, just use PATH
|
|
|
|
EXTRA_OECONF += "M4=m4"
|
|
|
|
|
2010-06-23 13:38:40 +00:00
|
|
|
SRC_URI = "${BASE_SRC_URI} \
|
2012-07-04 16:15:25 +00:00
|
|
|
file://fix_cross_manpage_building.patch \
|
|
|
|
"
|
2010-06-23 13:38:40 +00:00
|
|
|
|
2013-05-07 08:44:34 +00:00
|
|
|
SRC_URI[md5sum] = "7be02eb973eccf388f1ae750fc09eed0"
|
|
|
|
SRC_URI[sha256sum] = "b409adcbf245baadb68d2f66accf6fdca5e282cafec1b865f4b5e963ba8ea7fb"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2012-06-27 05:28:50 +00:00
|
|
|
LDFLAGS_prepend_libc-uclibc = " -lrt "
|
2012-10-27 08:48:17 +00:00
|
|
|
DEPENDS_class-native = "gettext-minimal-native"
|
|
|
|
SRC_URI_class-native = "${BASE_SRC_URI}"
|
2010-06-23 13:38:40 +00:00
|
|
|
|
2011-04-01 03:41:59 +00:00
|
|
|
inherit autotools gettext
|
2010-06-23 13:38:40 +00:00
|
|
|
acpaths = "-I ${S}/m4"
|
|
|
|
|
2012-10-27 08:48:17 +00:00
|
|
|
do_install_append_class-native() {
|
2011-01-05 03:04:12 +00:00
|
|
|
create_wrapper ${D}/${bindir}/bison \
|
|
|
|
BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison
|
|
|
|
}
|
2012-09-28 03:40:43 +00:00
|
|
|
BBCLASSEXTEND = "native nativesdk"
|