From 1c184aff456c29c1cc6b97c9b089da7d0898e632 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Tue, 25 Mar 2014 20:47:09 +0100 Subject: Host tools: move gperf to packages/htools/ Signed-off-by: Abdoulaye Walsimou Gaye --- packages/htools/gperf/gperf.kconfig | 43 +++++++++++++++++++++++++++++++++++++ packages/htools/gperf/gperf.mk | 31 ++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 packages/htools/gperf/gperf.kconfig create mode 100644 packages/htools/gperf/gperf.mk (limited to 'packages/htools/gperf') diff --git a/packages/htools/gperf/gperf.kconfig b/packages/htools/gperf/gperf.kconfig new file mode 100644 index 0000000..7be2403 --- /dev/null +++ b/packages/htools/gperf/gperf.kconfig @@ -0,0 +1,43 @@ +################################################################################ +# Embtoolkit +# Copyright(C) 2011-2014 Abdoulaye Walsimou GAYE. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +################################################################################ +# +# \file gperf_host.kconfig +# \brief gperf_host.kconfig of Embtoolkit +# \author Abdoulaye Walsimou GAYE +# \date June 2011 +################################################################################ + +config EMBTK_HOST_HAVE_GPERF + bool + help + This is GNU gperf. It is a program that generates perfect hash + functions for sets of key words. + A perfect hash function is: + A hash function and a data structure that allows recognition of a key + word in a set of words using exactly 1 probe into the data structure. + +if EMBTK_HOST_HAVE_GPERF +config EMBTK_GPERF_HOST_VERSION_STRING + string + default "3.0.4" +config EMBTK_GPERF_HOST_NEED_PATCH + bool +config EMBTK_GPERF_HOST_NEED_AUTORECONF + bool +endif diff --git a/packages/htools/gperf/gperf.mk b/packages/htools/gperf/gperf.mk new file mode 100644 index 0000000..42b696b --- /dev/null +++ b/packages/htools/gperf/gperf.mk @@ -0,0 +1,31 @@ +################################################################################ +# Embtoolkit +# Copyright(C) 2011-2014 Abdoulaye Walsimou GAYE. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +################################################################################ +# +# \file gperf_host.mk +# \brief gperf_host.mk of Embtoolkit +# \author Abdoulaye Walsimou GAYE +# \date June 2011 +################################################################################ + +GPERF_HOST_NAME := gperf +GPERF_HOST_VERSION := $(call embtk_get_pkgversion,gperf_host) +GPERF_HOST_SITE := http://ftp.gnu.org/gnu/gperf +GPERF_HOST_PACKAGE := gperf-$(GPERF_HOST_VERSION).tar.gz +GPERF_HOST_SRC_DIR := $(embtk_toolsb)/gperf-$(GPERF_HOST_VERSION) +GPERF_HOST_BUILD_DIR := $(embtk_toolsb)/gperf-$(GPERF_HOST_VERSION)-build -- cgit v1.2.3