flex: update to 2.6.1.
Closes #4606. Closes #4632. Closes #4678. Thanks to all contributors.
This commit is contained in:
parent
cd6498c205
commit
4e11f4d322
1 changed files with 11 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'flex'
|
# Template file for 'flex'
|
||||||
pkgname=flex
|
pkgname=flex
|
||||||
version=2.6.0
|
version=2.6.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
# YES REALLY! WE DONT WANT BINS LINKED TO LIBFL!
|
# YES REALLY! WE DONT WANT BINS LINKED TO LIBFL!
|
||||||
|
@ -12,12 +12,17 @@ short_desc="The Fast Lexical Analyzer"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://flex.sourceforge.net"
|
homepage="http://flex.sourceforge.net"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
distfiles="${SOURCEFORGE_SITE}/flex/${pkgname}-${version}.tar.bz2"
|
distfiles="https://github.com/westes/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=24e611ef5a4703a191012f80c1027dc9d12555183ce0ecd46f3636e587e9b8e9
|
checksum=2c7a412c1640e094cb058d9b2fe39d450186e09574bebb7aa28f783e3799103f
|
||||||
|
|
||||||
pre_install() {
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -i "s|.SUFFIXES: .dvi .html .info .pdf .ps .texi|.SUFFIXES: .info .texi|g" doc/Makefile
|
hostmakedepends+=" flex"
|
||||||
}
|
post_configure() {
|
||||||
|
# Use host flex
|
||||||
|
sed -i 's,$(top_builddir)/src/stage1flex$(EXEEXT),flex,' \
|
||||||
|
src/Makefile
|
||||||
|
}
|
||||||
|
fi
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue