flex, add symlink to lex (#5303)

This commit is contained in:
Schrijvers Luc
2020-09-29 11:51:08 +02:00
committed by GitHub
parent 2bd5270fd8
commit 3b57ead64e

View File

@@ -5,7 +5,7 @@ HOMEPAGE="https://github.com/westes/flex/"
COPYRIGHT="2001-2007 The Flex Project
1990, 1997 The Regents of the University of California"
LICENSE="Flex"
REVISION="1"
REVISION="2"
SOURCE_URI="$HOMEPAGE/releases/download/v$portVersion/flex-$portVersion.tar.gz"
CHECKSUM_SHA256="e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995"
PATCHES="flex-$portVersion.patchset"
@@ -16,6 +16,7 @@ PROVIDES="
flex = $portVersion compat >= 2.5
cmd:flex = $portVersion compat >= 2.5
cmd:flex++ = $portVersion compat >= 2.5
cmd:lex = $portVersion compat >= 2.5
devel:libfl = 2.0.0 compat >= 2
"
REQUIRES="
@@ -30,9 +31,9 @@ BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:autopoint
cmd:find
cmd:gcc
cmd:gettext
cmd:gzip
cmd:help2man
cmd:ld
@@ -58,8 +59,11 @@ INSTALL()
rm $libDir/libfl.la
# Create symlink to lex
ln -s $binDir/flex $binDir/lex
# prepare develop/lib
prepareInstalledDevelLibs libfl
prepareInstalledDevelLib libfl
}
TEST()