summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-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))
+