diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-21 00:17:40 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-21 00:17:40 +0200 |
commit | e19a5173612ab13bd14c4550526debc8f0a89f6f (patch) | |
tree | e04f7a90d3ba780845e06f31733ae5062117cb2b /package/flex/Makefile | |
parent | deb22c93a87309f08a838118cc7db128df58e468 (diff) |
flex: update to 2.6.1, disable shared libfl as it breaks ipsec-tools compile
Diffstat (limited to 'package/flex/Makefile')
-rw-r--r-- | package/flex/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/package/flex/Makefile b/package/flex/Makefile index bcb752d56..23f29e9a1 100644 --- a/package/flex/Makefile +++ b/package/flex/Makefile @@ -4,15 +4,15 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= flex -PKG_VERSION:= 2.6.0 +PKG_VERSION:= 2.6.1 PKG_RELEASE:= 1 -PKG_HASH:= d39b15a856906997ced252d76e9bfe2425d7503c6ed811669665627b248e4c73 +PKG_HASH:= 2c7a412c1640e094cb058d9b2fe39d450186e09574bebb7aa28f783e3799103f PKG_DESCR:= fast lexical analyzer PKG_SECTION:= dev/tools PKG_BUILDDEP:= m4-host HOST_BUILDDEP:= patch-host m4-host -PKG_URL:= http://flex.sourceforge.net/ -PKG_SITES:= $(MASTER_SITE_SOURCEFORGE:=flex/) +PKG_URL:= https://github.com/westes/flex +PKG_SITES:= https://github.com/westes/flex/releases/download/v2.6.1/ PKG_OPTS:= dev include $(ADK_TOPDIR)/mk/host.mk @@ -21,16 +21,18 @@ include $(ADK_TOPDIR)/mk/package.mk $(eval $(call HOST_template,FLEX,flex,$(PKG_VERSION)-$(PKG_RELEASE))) $(eval $(call PKG_template,FLEX,flex,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS))) +AUTOTOOL_STYLE:= autoreconf +HOST_MAKE_FLAGS+= STAGE1FLEX=$(WRKSRC)/src/stage1flex +MAKE_FLAGS+= STAGE1FLEX=$(STAGING_HOST_DIR)/usr/bin/stage1flex +CONFIGURE_ARGS+= --disable-shared + hostpost-install: (cd $(STAGING_HOST_DIR)/usr/bin; ln -sf flex lex) + $(CP) $(WRKBUILD)/src/stage1flex $(STAGING_HOST_DIR)/usr/bin flex-install: $(INSTALL_DIR) $(IDIR_FLEX)/usr/bin $(INSTALL_BIN) $(WRKINST)/usr/bin/flex $(IDIR_FLEX)/usr/bin - # workaround for dev subpackage - $(INSTALL_DIR) $(IDIR_FLEX_DEV)/usr/lib - $(CP) $(WRKINST)/usr/lib/libfl.a \ - $(IDIR_FLEX_DEV)/usr/lib include $(ADK_TOPDIR)/mk/host-bottom.mk include $(ADK_TOPDIR)/mk/pkg-bottom.mk |