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/gperf/Config.in | 7 +++++++ package/gperf/Makefile | 27 +++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 package/gperf/Config.in create mode 100644 package/gperf/Makefile (limited to 'package/gperf') diff --git a/package/gperf/Config.in b/package/gperf/Config.in new file mode 100644 index 000000000..6e5368708 --- /dev/null +++ b/package/gperf/Config.in @@ -0,0 +1,7 @@ +config ADK_PACKAGE_GPERF + prompt "gperf.............................. perfect hash function generator" + tristate + default n + select ADK_PACKAGE_LIBSTDCXX + help + http://www.gnu.org/software/gperf/ diff --git a/package/gperf/Makefile b/package/gperf/Makefile new file mode 100644 index 000000000..da90d16b8 --- /dev/null +++ b/package/gperf/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:= gperf +PKG_VERSION:= 3.0.4 +PKG_RELEASE:= 1 +PKG_MD5SUM:= c1f1db32fb6598d6a93e6e88796a8632 +PKG_DESCR:= perfect hash function generator +PKG_SECTION:= comp +PKG_URL:= http://www.gnu.org/software/gperf/ +PKG_SITES:= ${MASTER_SITE_GNU:=${PKG_NAME}/} + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,GPERF,${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_GPERF}/usr/bin + ${INSTALL_BIN} ${WRKINST}/usr/bin/gperf ${IDIR_GPERF}/usr/bin + +include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3