void-packages/srcpkgs/bison/template
maxice8 6fed12ab33 bison: update to 3.0.5.
Closes #14758.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-29 17:21:21 +02:00

26 lines
693 B
Bash

# Template file for 'bison'
pkgname=bison
version=3.0.5
revision=1
build_style=gnu-configure
hostmakedepends="help2man perl m4"
depends="m4"
short_desc="GNU yacc(1) replacement"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="http://www.gnu.org/software/bison/bison.html"
distfiles="${GNU_SITE}/bison/bison-${version}.tar.xz"
checksum=075cef2e814642e30e10e8155e93022e4a91ca38a65aa1d5467d4e969f97f338
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
}