Add gperf, perfect hash generator
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Wed, 9 Jul 2008 04:27:45 +0000 (04:27 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Wed, 9 Jul 2008 04:27:45 +0000 (04:27 -0000)
package/Config.in
package/gperf/Config.in [new file with mode: 0644]
package/gperf/gperf.mk [new file with mode: 0644]

index 2515b04b800d28130f2d4595e5ae9baf968643d5..4ad87527767cebf9d9f5d9f7a129cb2cf31b5eac 100644 (file)
@@ -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 (file)
index 0000000..2588139
--- /dev/null
@@ -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 (file)
index 0000000..51c49d9
--- /dev/null
@@ -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))
+