22 lines
876 B
Makefile
22 lines
876 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="bison"
|
|
PKG_VERSION="3.8.2"
|
|
PKG_SHA256="9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="http://www.gnu.org/software/bison/"
|
|
PKG_URL="http://ftpmirror.gnu.org/bison/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
|
PKG_DEPENDS_HOST="ccache:host m4:host"
|
|
PKG_LONGDESC="A general-purpose parser generator."
|
|
PKG_BUILD_FLAGS="-parallel"
|
|
|
|
PKG_CONFIGURE_OPTS_HOST="--disable-rpath --with-gnu-ld"
|
|
|
|
post_configure_host() {
|
|
# The configure system causes Bison to be built without support for
|
|
# internationalization of error messages if a bison program is not already in
|
|
# ${PATH}. The following addition will correct this:
|
|
echo '#define YYENABLE_NLS 1' >> lib/config.h
|
|
}
|