flex: provide /usr/bin/lex.

This commit is contained in:
Leah Neukirchen 2017-11-20 15:30:45 +01:00
parent 270a191226
commit 0ed15bb774

View file

@ -1,7 +1,7 @@
# Template file for 'flex' # Template file for 'flex'
pkgname=flex pkgname=flex
version=2.6.4 version=2.6.4
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-bootstrap --disable-shared" configure_args="--disable-bootstrap --disable-shared"
hostmakedepends="bison" hostmakedepends="bison"
@ -17,8 +17,8 @@ checksum=e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995
# Required to enable the definition of reallocarray() in stdlib.h # Required to enable the definition of reallocarray() in stdlib.h
CFLAGS="-D_GNU_SOURCE" CFLAGS="-D_GNU_SOURCE"
post_install() { post_install() {
ln -s flex ${DESTDIR}/usr/bin/lex
vlicense COPYING vlicense COPYING
} }