1 #############################################################
5 #############################################################
6 FLEX_SOURCE
:=flex_2.5
.4a.orig.
tar.gz
7 FLEX_PATCH
:=flex_2.5
.4a-24.diff.gz
8 FLEX_SITE
:=http
://ftp.debian.org
/debian
/pool
/main
/f
/flex
9 FLEX_DIR
:=$(BUILD_DIR
)/flex-2.5
.4
12 FLEX_TARGET_BINARY
:=usr
/bin
/flex
14 $(DL_DIR
)/$(FLEX_SOURCE
):
15 $(WGET
) -P
$(DL_DIR
) $(FLEX_SITE
)/$(FLEX_SOURCE
)
17 $(DL_DIR
)/$(FLEX_PATCH
):
18 $(WGET
) -P
$(DL_DIR
) $(FLEX_SITE
)/$(FLEX_PATCH
)
20 flex-source
: $(DL_DIR
)/$(FLEX_SOURCE
) $(DL_DIR
)/$(FLEX_PATCH
)
22 $(FLEX_DIR
)/.unpacked
: $(DL_DIR
)/$(FLEX_SOURCE
) $(DL_DIR
)/$(FLEX_PATCH
)
23 $(FLEX_CAT
) $(DL_DIR
)/$(FLEX_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
24 #$(SOURCE_DIR)/patch-kernel.sh $(FLEX_DIR) $(DL_DIR) $(FLEX_PATCH)
25 touch
$(FLEX_DIR
)/.unpacked
27 $(FLEX_DIR
)/.configured
: $(FLEX_DIR
)/.unpacked
28 (cd
$(FLEX_DIR
); autoconf
; rm -rf config.cache
; \
29 $(TARGET_CONFIGURE_OPTS
) \
30 CFLAGS
="$(TARGET_CFLAGS)" \
32 --target
=$(GNU_TARGET_NAME
) \
33 --host
=$(GNU_TARGET_NAME
) \
34 --build
=$(GNU_HOST_NAME
) \
39 --libexecdir
=/usr
/lib \
41 --datadir=/usr
/share \
42 --localstatedir
=/var \
46 $(DISABLE_LARGEFILE
) \
48 touch
$(FLEX_DIR
)/.configured
50 $(FLEX_DIR
)/$(FLEX_BINARY
): $(FLEX_DIR
)/.configured
51 $(MAKE
) -C
$(FLEX_DIR
)
53 $(TARGET_DIR
)/$(FLEX_TARGET_BINARY
): $(FLEX_DIR
)/$(FLEX_BINARY
)
55 prefix=$(TARGET_DIR
)/usr \
56 exec_prefix=$(TARGET_DIR
)/usr \
57 bindir=$(TARGET_DIR
)/usr
/bin \
58 sbindir
=$(TARGET_DIR
)/usr
/sbin \
59 libexecdir
=$(TARGET_DIR
)/usr
/lib \
60 datadir=$(TARGET_DIR
)/usr
/share \
61 sysconfdir
=$(TARGET_DIR
)/etc \
62 sharedstatedir
=$(TARGET_DIR
)/usr
/com \
63 localstatedir
=$(TARGET_DIR
)/var \
64 libdir=$(TARGET_DIR
)/usr
/lib \
65 infodir=$(TARGET_DIR
)/usr
/info \
66 mandir=$(TARGET_DIR
)/usr
/man \
67 includedir=$(TARGET_DIR
)/usr
/include \
68 -C
$(FLEX_DIR
) install;
69 rm -rf
$(TARGET_DIR
)/share
/locale
$(TARGET_DIR
)/usr
/info \
70 $(TARGET_DIR
)/usr
/man
$(TARGET_DIR
)/usr
/share
/doc
71 (cd
$(TARGET_DIR
)/usr
/bin
; ln
-s flex
lex)
73 flex
: uclibc
$(TARGET_DIR
)/$(FLEX_TARGET_BINARY
)
76 $(MAKE
) DESTDIR
=$(TARGET_DIR
) -C
$(FLEX_DIR
) uninstall
77 -$(MAKE
) -C
$(FLEX_DIR
) clean
This page took 0.051641 seconds and 5 git commands to generate.