From: Ulf Samuelsson Date: Wed, 9 Jul 2008 04:27:45 +0000 (-0000) Subject: Add gperf, perfect hash generator X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2685f5b13907d455881673df583c1a0084bb35e5;p=buildroot.git Add gperf, perfect hash generator --- diff --git a/package/Config.in b/package/Config.in index 2515b04b80..4ad8752776 100644 --- a/package/Config.in +++ b/package/Config.in @@ -71,6 +71,7 @@ source "package/customize/Config.in" source "package/dash/Config.in" source "package/file/Config.in" source "package/gamin/Config.in" +source "package/gperf/Config.in" source "package/icu/Config.in" source "package/ipkg/Config.in" source "package/kexec/Config.in" diff --git a/package/gperf/Config.in b/package/gperf/Config.in new file mode 100644 index 0000000000..2588139cd7 --- /dev/null +++ b/package/gperf/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_GPERF + bool "gperf" + default n + help + A 'perfect hash function' generator + + $(BR2_GNU_MIRROR) diff --git a/package/gperf/gperf.mk b/package/gperf/gperf.mk new file mode 100644 index 0000000000..51c49d9627 --- /dev/null +++ b/package/gperf/gperf.mk @@ -0,0 +1,22 @@ +############################################################# +# +# gperf +# +############################################################# +GPERF_VERSION = 3.0.3 +GPERF_SOURCE = gperf-$(GPERF_VERSION).tar.gz +GPERF_SITE = $(BR2_GNU_MIRROR)/gperf +GPERF_AUTORECONF = NO +GPERF_INSTALL_STAGING = YES +GPERF_INSTALL_TARGET = YES +GPERF_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install +GPERF_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install + +GPERF_CONF_ENV = + +GPERF_CONF_OPT = + +GPERF_DEPENDENCIES = uclibc + +$(eval $(call AUTOTARGETS,package,gperf)) +