summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-07-09 04:27:45 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-07-09 04:27:45 +0000
commit2685f5b13907d455881673df583c1a0084bb35e5 (patch)
tree15f3057e123eca5865dea7acb0b3ea8653cce3d3
parent228ef57ecfccd59cfb98cb7ee1bdd4951c72d47f (diff)
downloadbuildroot-novena-2685f5b13907d455881673df583c1a0084bb35e5.tar.gz
buildroot-novena-2685f5b13907d455881673df583c1a0084bb35e5.zip
Add gperf, perfect hash generator
-rw-r--r--package/Config.in1
-rw-r--r--package/gperf/Config.in7
-rw-r--r--package/gperf/gperf.mk22
3 files changed, 30 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 2515b04b8..4ad875277 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 000000000..2588139cd
--- /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 000000000..51c49d962
--- /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))
+