1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# -*-makefile-*-
#
# Copyright (C) 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_FLEX) += flex
#
# Paths and names
#
FLEX_VERSION := 2.5.35
FLEX_MD5 := 10714e50cea54dc7a227e3eddcd44d57
FLEX := flex-$(FLEX_VERSION)
FLEX_SUFFIX := tar.bz2
FLEX_URL := $(call ptx/mirror, SF, flex/$(FLEX).$(FLEX_SUFFIX))
FLEX_SOURCE := $(SRCDIR)/$(FLEX).$(FLEX_SUFFIX)
FLEX_DIR := $(BUILDDIR)/$(FLEX)
FLEX_LICENSE := BSD-2-Clause
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
FLEX_PATH := PATH=$(CROSS_PATH)
FLEX_ENV := $(CROSS_ENV)
#
# autoconf
#
FLEX_AUTOCONF := $(CROSS_AUTOCONF_USR)
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/flex.targetinstall:
@$(call targetinfo)
@$(call install_init, flex)
@$(call install_fixup, flex,PRIORITY,optional)
@$(call install_fixup, flex,SECTION,base)
@$(call install_fixup, flex,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
@$(call install_fixup, flex,DESCRIPTION,missing)
#
# HACK:
#
# we need a ipkg, because some packages may depend on us, e.g.:
# "at"
#
# because we don't provide any shared libraries,
# we just put an existing dir into the package
#
@$(call install_copy, flex, 0, 0, 0755, /usr/sbin)
@$(call install_finish, flex)
@$(call touch)
# vim: syntax=make
|