void-packages/srcpkgs/bison/template

23 lines
654 B
Bash
Raw Normal View History

# Template build file for 'bison'.
pkgname=bison
2015-08-01 08:48:49 +02:00
version=3.0.4
revision=2
build_style=gnu-configure
2015-08-01 08:48:49 +02:00
hostmakedepends="help2man perl m4"
depends="m4"
short_desc="GNU yacc(1) replacement"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-06-06 21:29:38 +02:00
homepage="http://www.gnu.org/software/bison/bison.html"
license="GPL-3"
distfiles="http://ftp.gnu.org/pub/gnu/bison/$pkgname-$version.tar.xz"
2015-08-01 08:48:49 +02:00
checksum=a72428c7917bdf9fa93cb8181c971b6e22834125848cf1d03ce10b1bb0716fe1
alternatives="
yacc:yacc:/usr/bin/bison-yacc
yacc:yacc.1:/usr/share/man/man1/bison-yacc.1"
post_install() {
mv ${DESTDIR}/usr/bin/{yacc,bison-yacc}
mv ${DESTDIR}/usr/share/man/man1/{yacc,bison-yacc}.1
}