* [Buildroot] svn commit: trunk/buildroot/package: gperf
@ 2008-07-09 4:27 ulf at uclibc.org
2008-07-09 7:14 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: ulf at uclibc.org @ 2008-07-09 4:27 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2008-07-08 21:27:45 -0700 (Tue, 08 Jul 2008)
New Revision: 22696
Log:
Add gperf, perfect hash generator
Added:
trunk/buildroot/package/gperf/
trunk/buildroot/package/gperf/Config.in
trunk/buildroot/package/gperf/gperf.mk
Modified:
trunk/buildroot/package/Config.in
Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================
--- trunk/buildroot/package/Config.in 2008-07-08 20:41:57 UTC (rev 22695)
+++ trunk/buildroot/package/Config.in 2008-07-09 04:27:45 UTC (rev 22696)
@@ -71,6 +71,7 @@
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"
Added: trunk/buildroot/package/gperf/Config.in
===================================================================
--- trunk/buildroot/package/gperf/Config.in (rev 0)
+++ trunk/buildroot/package/gperf/Config.in 2008-07-09 04:27:45 UTC (rev 22696)
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_GPERF
+ bool "gperf"
+ default n
+ help
+ A 'perfect hash function' generator
+
+ $(BR2_GNU_MIRROR)
Added: trunk/buildroot/package/gperf/gperf.mk
===================================================================
--- trunk/buildroot/package/gperf/gperf.mk (rev 0)
+++ trunk/buildroot/package/gperf/gperf.mk 2008-07-09 04:27:45 UTC (rev 22696)
@@ -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))
+
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package: gperf
2008-07-09 4:27 [Buildroot] svn commit: trunk/buildroot/package: gperf ulf at uclibc.org
@ 2008-07-09 7:14 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2008-07-09 7:14 UTC (permalink / raw)
To: buildroot
>>>>> "ulf" == ulf <ulf@uclibc.org> writes:
ulf> Author: ulf
ulf> Date: 2008-07-08 21:27:45 -0700 (Tue, 08 Jul 2008)
ulf> New Revision: 22696
ulf> Log:
ulf> Add gperf, perfect hash generator
What is it useful for? Does any other packages need it?
ulf> Added:
ulf> trunk/buildroot/package/gperf/
ulf> trunk/buildroot/package/gperf/Config.in
ulf> trunk/buildroot/package/gperf/gperf.mk
ulf> Modified:
ulf> trunk/buildroot/package/Config.in
ulf> Changeset:
ulf> Modified: trunk/buildroot/package/Config.in
ulf> ===================================================================
ulf> --- trunk/buildroot/package/Config.in 2008-07-08 20:41:57 UTC (rev 22695)
ulf> +++ trunk/buildroot/package/Config.in 2008-07-09 04:27:45 UTC (rev 22696)
ulf> @@ -71,6 +71,7 @@
ulf> source "package/dash/Config.in"
ulf> source "package/file/Config.in"
ulf> source "package/gamin/Config.in"
ulf> +source "package/gperf/Config.in"
Doesn't it belong under development stuff?
ulf> source "package/icu/Config.in"
ulf> source "package/ipkg/Config.in"
ulf> source "package/kexec/Config.in"
ulf> Added: trunk/buildroot/package/gperf/Config.in
ulf> ===================================================================
ulf> --- trunk/buildroot/package/gperf/Config.in (rev 0)
ulf> +++ trunk/buildroot/package/gperf/Config.in 2008-07-09 04:27:45 UTC (rev 22696)
ulf> @@ -0,0 +1,7 @@
ulf> +config BR2_PACKAGE_GPERF
ulf> + bool "gperf"
ulf> + default n
ulf> + help
ulf> + A 'perfect hash function' generator
ulf> +
ulf> + $(BR2_GNU_MIRROR)
http://www.gnu.org/software/gperf/ would be better.
ulf> Added: trunk/buildroot/package/gperf/gperf.mk
ulf> ===================================================================
ulf> --- trunk/buildroot/package/gperf/gperf.mk (rev 0)
ulf> +++ trunk/buildroot/package/gperf/gperf.mk 2008-07-09 04:27:45 UTC (rev 22696)
ulf> @@ -0,0 +1,22 @@
ulf> +#############################################################
ulf> +#
ulf> +# gperf
ulf> +#
ulf> +#############################################################
ulf> +GPERF_VERSION = 3.0.3
ulf> +GPERF_SOURCE = gperf-$(GPERF_VERSION).tar.gz
ulf> +GPERF_SITE = $(BR2_GNU_MIRROR)/gperf
ulf> +GPERF_AUTORECONF = NO
ulf> +GPERF_INSTALL_STAGING = YES
ulf> +GPERF_INSTALL_TARGET = YES
Why install the cross binary under staging?
ulf> +GPERF_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install
ulf> +GPERF_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
Trailing spaces.
You're not stripping the binary in TARGET_DIR.
ulf> +
ulf> +GPERF_CONF_ENV =
ulf> +
ulf> +GPERF_CONF_OPT =
ulf> +
ulf> +GPERF_DEPENDENCIES = uclibc
ulf> +
ulf> +$(eval $(call AUTOTARGETS,package,gperf))
ulf> +
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-09 7:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-09 4:27 [Buildroot] svn commit: trunk/buildroot/package: gperf ulf at uclibc.org
2008-07-09 7:14 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox