Skip to content

Commit

Permalink
tools/flex: update to 2.6.1
Browse files Browse the repository at this point in the history
Update flex to 2.6.1
* Flex has moved to Github, adjust download link
* Remove patch that has been applied upstream
* Disable building tests to avoid circular dependency to bison
  - disable also docs and examples at the same time

Signed-off-by: Hannu Nyman <[email protected]>

SVN-Revision: 49025
  • Loading branch information
John Crispin committed Mar 16, 2016
1 parent 99414db commit ae30ad6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 24 deletions.
11 changes: 5 additions & 6 deletions tools/flex/Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
#
# Copyright (C) 2008-2014 OpenWrt.org
# Copyright (C) 2008-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk

PKG_NAME:=flex
PKG_VERSION:=2.5.39
PKG_VERSION:=2.6.1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_MD5SUM:=77d44c6bb8c0705e0017ab9a84a1502b
PKG_CAT:=bzcat
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/westes/flex/releases/download/v$(PKG_VERSION)/
PKG_MD5SUM:=cd3c86290fc2676a641aefafeb10848a

HOST_BUILD_PARALLEL:=1

Expand Down
13 changes: 13 additions & 0 deletions tools/flex/patches/100-disable-tests-docs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,10 +45,7 @@
SUBDIRS = \
lib \
src \
- doc \
- examples \
po \
- tests \
tools

# Create the ChangeLog, but only if we're inside a git working directory
18 changes: 0 additions & 18 deletions tools/flex/patches/100-remove_no_undefined.patch

This file was deleted.

0 comments on commit ae30ad6

Please sign in to comment.