void-packages/srcpkgs/bison/template
2019-05-20 16:50:03 +02:00

24 lines
700 B
Bash

# Template file for 'bison'
pkgname=bison
version=3.4
revision=1
build_style=gnu-configure
hostmakedepends="help2man perl m4"
depends="m4"
checkdepends="autoconf flex"
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=6f3582cce1bb040fa09cfa238d6ee8643c03c79e34d0d203a7466b8cc1038efa
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
}