flex: bump to version 2.5.35-10 and cleanup style
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
7c60be98b2
commit
a1dd178f3a
@ -3,24 +3,25 @@
|
||||
# flex
|
||||
#
|
||||
#############################################################
|
||||
FLEX_VERSION:=2.5.35
|
||||
FLEX_PATCH_VERSION:=9.1
|
||||
FLEX_SOURCE:=flex_$(FLEX_VERSION).orig.tar.gz
|
||||
FLEX_PATCH:=flex_$(FLEX_VERSION)-$(FLEX_PATCH_VERSION).diff.gz
|
||||
FLEX_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/f/flex
|
||||
FLEX_DIR:=$(BUILD_DIR)/flex-$(FLEX_VERSION)
|
||||
FLEX_INSTALL_STAGING=YES
|
||||
|
||||
FLEX_VERSION = 2.5.35
|
||||
FLEX_PATCH_VERSION = 10
|
||||
FLEX_SOURCE = flex_$(FLEX_VERSION).orig.tar.gz
|
||||
FLEX_PATCH = flex_$(FLEX_VERSION)-$(FLEX_PATCH_VERSION).diff.gz
|
||||
FLEX_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/f/flex
|
||||
FLEX_DIR = $(BUILD_DIR)/flex-$(FLEX_VERSION)
|
||||
FLEX_INSTALL_STAGING = YES
|
||||
FLEX_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_GETTEXT),gettext) \
|
||||
$(if $(BR2_PACKAGE_LIBINTL),libintl)
|
||||
|
||||
# lex -> flex
|
||||
define FLEX_INSTALL_LEX
|
||||
cd $(TARGET_DIR)/usr/bin && ln -snf flex lex
|
||||
cd $(TARGET_DIR)/usr/bin && ln -snf flex lex
|
||||
endef
|
||||
|
||||
define FLEX_UNINSTALL_LEX
|
||||
-rm $(TARGET_DIR)/usr/bin/lex
|
||||
-rm $(TARGET_DIR)/usr/bin/lex
|
||||
endef
|
||||
|
||||
FLEX_POST_INSTALL_HOOKS += FLEX_INSTALL_LEX
|
||||
@ -29,11 +30,11 @@ FLEX_POST_CLEAN_HOOKS += FLEX_UNINSTALL_LEX
|
||||
# libfl installation
|
||||
ifeq ($(BR2_PACKAGE_FLEX_LIBFL),y)
|
||||
define FLEX_INSTALL_LIBFL
|
||||
install -D $(FLEX_DIR)/libfl.a $(STAGING_DIR)/usr/lib/libfl.a
|
||||
install -D $(FLEX_DIR)/libfl.a $(STAGING_DIR)/usr/lib/libfl.a
|
||||
endef
|
||||
|
||||
define FLEX_UNINSTALL_LIBFL
|
||||
-rm $(STAGING_DIR)/lib/libfl.a
|
||||
-rm $(STAGING_DIR)/lib/libfl.a
|
||||
endef
|
||||
|
||||
FLEX_POST_INSTALL_HOOKS += FLEX_INSTALL_LIBFL
|
||||
|
Loading…
Reference in New Issue
Block a user