2010-12-17 02:41:16 +00:00
|
|
|
#
|
2016-03-16 09:26:51 +00:00
|
|
|
# Copyright (C) 2008-2016 OpenWrt.org
|
2010-12-17 02:41:16 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=flex
|
2016-03-16 09:26:51 +00:00
|
|
|
PKG_VERSION:=2.6.1
|
2010-12-17 02:41:16 +00:00
|
|
|
|
2016-03-16 09:26:51 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
|
|
PKG_SOURCE_URL:=https://github.com/westes/flex/releases/download/v$(PKG_VERSION)/
|
2016-12-16 16:32:10 +00:00
|
|
|
PKG_HASH:=2c7a412c1640e094cb058d9b2fe39d450186e09574bebb7aa28f783e3799103f
|
2010-12-17 02:41:16 +00:00
|
|
|
|
2012-09-15 14:18:01 +00:00
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
|
2010-12-17 02:41:16 +00:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2014-08-27 09:20:18 +00:00
|
|
|
HOST_CONFIGURE_ARGS += --disable-shared
|
2012-08-10 19:26:24 +00:00
|
|
|
|
2010-12-17 02:41:16 +00:00
|
|
|
define Host/Clean
|
|
|
|
-$(MAKE) -C $(HOST_BUILD_DIR) uninstall
|
|
|
|
$(call Host/Clean/Default)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|