bison: register 'yacc' alternatives group.

This commit is contained in:
Juan RP 2015-11-01 11:16:28 +01:00
parent 9a32264b0f
commit 7ef2e207f2

View File

@ -1,7 +1,7 @@
# Template build file for 'bison'.
pkgname=bison
version=3.0.4
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="help2man perl m4"
depends="m4"
@ -11,3 +11,12 @@ homepage="http://www.gnu.org/software/bison/bison.html"
license="GPL-3"
distfiles="http://ftp.gnu.org/pub/gnu/bison/$pkgname-$version.tar.xz"
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
}