From c79befcc1a0791df92460439f933843661db82e2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 28 Aug 2009 21:35:19 +0200 Subject: add more packages needed for native builds - add bison,flex,diffutils,autoconf,automake,libtool,m4,gperf - add {glibc,eglibc,uclibc}-dev packages - add libz/libncurses development packages - add PKG_OPTS to setup special options for packages noremove is needed for uclibc/eglibc/glibc packages, otherwise needed headers will be removed slightly tested, still in development --- package/flex/Config.in | 6 ++++++ package/flex/Makefile | 27 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 package/flex/Config.in create mode 100644 package/flex/Makefile (limited to 'package/flex') diff --git a/package/flex/Config.in b/package/flex/Config.in new file mode 100644 index 000000000..6be8e22ea --- /dev/null +++ b/package/flex/Config.in @@ -0,0 +1,6 @@ +config ADK_PACKAGE_FLEX + prompt "flex.............................. Fast lexical analyzer" + tristate + default n + help + http://www.gnu.org/software/flex/ diff --git a/package/flex/Makefile b/package/flex/Makefile new file mode 100644 index 000000000..bb2eda080 --- /dev/null +++ b/package/flex/Makefile @@ -0,0 +1,27 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= flex +PKG_VERSION:= 2.5.35 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 201d3f38758d95436cbc64903386de0b +PKG_DESCR:= fast lexical analyzer +PKG_SECTION:= utils +PKG_URL:= http://flex.sourceforge.net/ +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/} + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,FLEX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_STYLE:= gnu +BUILD_STYLE:= auto +INSTALL_STYLE:= auto + +post-install: + ${INSTALL_DIR} ${IDIR_FLEX}/usr/bin + ${INSTALL_BIN} ${WRKINST}/usr/bin/flex ${IDIR_FLEX}/usr/bin + +include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3