• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/flex/flex.mk
Gustavo ZacariasGustavo Zacarias committed aa6ea7aba3a15 Jan 2015
Raw file
Source viewDiff to previous
 
1
################################################################################
2
#
3
# flex
4
#
5
################################################################################
6
​
7
FLEX_VERSION = 2.5.37
8
FLEX_SITE = http://download.sourceforge.net/project/flex
9
FLEX_INSTALL_STAGING = YES
10
FLEX_LICENSE = FLEX
11
FLEX_LICENSE_FILES = COPYING
12
FLEX_DEPENDENCIES = \
13
    $(if $(BR2_PACKAGE_GETTEXT_IF_LOCALE),gettext) host-m4
14
FLEX_CONF_ENV = ac_cv_path_M4=/usr/bin/m4
15
# we don't have a host-gettext/libintl
16
HOST_FLEX_DEPENDENCIES = host-m4
17
​
18
define FLEX_DISABLE_PROGRAM
19
    $(SED) 's/^bin_PROGRAMS.*//' $(@D)/Makefile.in
20
endef
21
FLEX_POST_PATCH_HOOKS += FLEX_DISABLE_PROGRAM
22
​
23
# flex++ symlink is broken when flex binary is not installed
24
define FLEX_REMOVE_BROKEN_SYMLINK
25
    rm -f $(TARGET_DIR)/usr/bin/flex++
26
endef
27
FLEX_POST_INSTALL_TARGET_HOOKS += FLEX_REMOVE_BROKEN_SYMLINK
28
​
29
$(eval $(autotools-package))
30
$(eval $(host-autotools-package))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.