summaryrefslogtreecommitdiffstats
path: root/package/gperf
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 /package/gperf
parent228ef57ecfccd59cfb98cb7ee1bdd4951c72d47f (diff)
downloadbuildroot-novena-2685f5b13907d455881673df583c1a0084bb35e5.tar.gz
buildroot-novena-2685f5b13907d455881673df583c1a0084bb35e5.zip
Add gperf, perfect hash generator
Diffstat (limited to 'package/gperf')
-rw-r--r--package/gperf/Config.in7
-rw-r--r--package/gperf/gperf.mk22
2 files changed, 29 insertions, 0 deletions
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))
+