1 # SPDX-Identifier-License: GPL-2.0-only
3 # Copyright (C) 2022 W. Michael Petullo <mike@flyn.org>
5 include $(TOPDIR
)/rules.mk
9 PKG_RELEASE
:=$(AUTORELEASE
)
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
12 PKG_SOURCE_URL
:=@GNU
/$(PKG_NAME
)
13 PKG_HASH
:=9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2
15 PKG_MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
16 PKG_LICENSE
:=GPL-3.0
-or-later
17 PKG_LICENSE_FILES
:=COPYING
21 include $(INCLUDE_DIR
)/package.mk
27 URL
:=http
://www.gnu.org
/software
/bison
/
30 define Package
/bison
/description
31 Bison is a general-purpose parser generator
34 CONFIGURE_ARGS
+= --enable-threads
=posix
--disable-nls
36 define Package
/bison
/install
37 $(INSTALL_DIR
) $(1)/usr
/bin
/
39 $(PKG_INSTALL_DIR
)/usr
/bin
/bison \
43 $(eval
$(call BuildPackage
,bison
))