27 lines
697 B
Bash
27 lines
697 B
Bash
# Template file for 'bison'
|
|
pkgname=bison
|
|
version=3.2.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="help2man perl m4"
|
|
depends="m4"
|
|
short_desc="GNU yacc(1) replacement"
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://www.gnu.org/software/bison/bison.html"
|
|
distfiles="${GNU_SITE}/bison/bison-${version}.tar.xz"
|
|
checksum=3cb07a84ff698b205ea244e36eccb4979dd4e10f2120ebbf58c5f1f700023f29
|
|
alternatives="
|
|
yacc:yacc:/usr/bin/bison-yacc
|
|
yacc:yacc.1:/usr/share/man/man1/bison-yacc.1"
|
|
|
|
do_check() {
|
|
# Missing files for compilation
|
|
:
|
|
}
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/{yacc,bison-yacc}
|
|
mv ${DESTDIR}/usr/share/man/man1/{yacc,bison-yacc}.1
|
|
}
|