void-packages/srcpkgs/bison/template
2020-05-20 21:47:30 +02:00

25 lines
702 B
Bash

# Template file for 'bison'
pkgname=bison
version=3.6.2
revision=1
build_style=gnu-configure
hostmakedepends="help2man perl m4"
depends="m4"
checkdepends="autoconf flex"
short_desc="GNU yacc(1) replacement"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://www.gnu.org/software/bison/bison.html"
distfiles="${GNU_SITE}/bison/bison-${version}.tar.xz"
checksum=4a164b5cc971b896ce976bf4b624fab7279e0729cf983a5135df7e4df0970f6e
alternatives="
yacc:yacc:/usr/bin/bison-yacc
yacc:yacc.1:/usr/share/man/man1/bison-yacc.1"
disable_parallel_build=yes
post_install() {
mv ${DESTDIR}/usr/bin/{yacc,bison-yacc}
mv ${DESTDIR}/usr/share/man/man1/{yacc,bison-yacc}.1
}