$(ARCHIVE)/portmap-$(PORTMAP_VER).tgz:
$(WGET) http://fossies.org/linux/misc/old/portmap-$(PORTMAP_VER).tgz
+$(ARCHIVE)/flex-$(FLEX_VER).tar.gz:
+ $(WGET) https://uncwddas.googlecode.com/files/flex-$(FLEX_VER).tar.gz
+
+
$(ARCHIVE)/crosstool-1.16.0-downloads.tar.bz2:
$(WGET) http://www.fhloston-paradise.de/crosstool-ng-1.16.0.tar.bz2
$(WGET) http://www.fhloston-paradise.de/eglibc-2_13.tar.bz2
rm -rf $(TARGETPREFIX)/bin/luac
$(REMOVE)/lua-$(LUA_VER) $(TARGETPREFIX)/.remove
touch $@
+
+$(D)/libflex: $(ARCHIVE)/flex-$(FLEX_VER).tar.gz
+ $(UNTAR)/flex-$(FLEX_VER).tar.gz
+ set -e; cd $(BUILD_TMP)/flex-$(FLEX_VER); \
+ echo "ac_cv_func_malloc_0_nonnull=yes" > config.cache; \
+ echo "ac_cv_func_realloc_0_nonnull=yes" >> config.cache; \
+ $(CONFIGURE) -C --host=$(TARGET) --target=$(TARGET) --prefix= --bindir=/.remove --mandir=/.remove --infodir=/.remove --disable-nls; \
+ $(MAKE); \
+ $(MAKE) install DESTDIR=$(TARGETPREFIX)
+ rm -fr $(TARGETPREFIX)/.remove
+ $(REMOVE)/flex-$(FLEX_VER)
+ touch $@
# C library for parsing XML
EXPAT_VER = 2.1.0
+# FLEX (the fast lexical analyser)
+FLEX_VER=2.5.35
+
# libjpeg-turbo; a derivative of libjpeg for x86 and x86-64 processors which uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression and decompression
JPEG_TURBO_VER = 1.4.2