New package: sparsehash - efficient hash map Signed-off-by: Markus Rathgeb <rathgeb.mar...@googlemail.com> =============================================================================== diff -Naur /tmp/rules/./rules/sparsehash.in ./rules/sparsehash.in --- /tmp/rules/./rules/sparsehash.in 1970-01-01 01:00:00.000000000 +0100 +++ ./rules/sparsehash.in 2009-08-26 15:11:10.000000000 +0200 @@ -0,0 +1,7 @@ +## SECTION=system_libraries + +config SPARSEHASH + tristate + prompt "sparsehash" + help + An extremely memory-efficient hash_map implementation. diff -Naur /tmp/rules/./rules/sparsehash.make ./rules/sparsehash.make --- /tmp/rules/./rules/sparsehash.make 1970-01-01 01:00:00.000000000 +0100 +++ ./rules/sparsehash.make 2009-08-26 15:11:10.000000000 +0200 @@ -0,0 +1,68 @@ +# Copyright (C) 2009 by Markus Rathgeb <rathgeb.mar...@googlemail.com> + + +PACKAGES-$(PTXCONF_SPARSEHASH) += sparsehash + +# +# Paths and names +# +SPARSEHASH_NAME := sparsehash +SPARSEHASH_VERSION := 1.5.2 +SPARSEHASH := $(SPARSEHASH_NAME)-$(SPARSEHASH_VERSION) +SPARSEHASH_SUFFIX := tar.gz +SPARSEHASH_URL := http://google- sparsehash.googlecode.com/files/$(SPARSEHASH).$(SPARSEHASH_SUFFIX) +SPARSEHASH_SOURCE := $(SRCDIR)/$(SPARSEHASH).$(SPARSEHASH_SUFFIX) +SPARSEHASH_DIR := $(BUILDDIR)/$(SPARSEHASH) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +$(SPARSEHASH_SOURCE): + @$(call targetinfo) + @$(call get, SPARSEHASH) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +SPARSEHASH_PATH := PATH=$(CROSS_PATH) +SPARSEHASH_ENV := $(CROSS_ENV) + +# +# autoconf +# +SPARSEHASH_AUTOCONF := \ + $(CROSS_AUTOCONF_USR) \ + --disable-dependency-tracking + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +sparsehash_targetinstall: $(STATEDIR)/sparsehash.targetinstall + +$(STATEDIR)/sparsehash.targetinstall: $(sparsehash_targetinstall_deps_default) + @$(call targetinfo, $@) + + @$(call install_init, sparsehash) + @$(call install_fixup, sparsehash,PACKAGE,sparsehash) + @$(call install_fixup, sparsehash,PRIORITY,optional) + @$(call install_fixup, sparsehash,VERSION,$(SPARSEHASH_VERSION)) + @$(call install_fixup, sparsehash,SECTION,base) + @$(call install_fixup, sparsehash,AUTHOR,"Markus Rathgeb <rathgeb.mark...@googlemail.com>") + @$(call install_fixup, sparsehash,DEPENDS,) + @$(call install_fixup, sparsehash,DESCRIPTION,missing) + + @$(call install_finish, sparsehash) + + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +sparsehash_clean: + rm -rf $(STATEDIR)/sparsehash.* + rm -rf $(PKGDIR)/sparsehash_* + rm -rf $(SPARSEHASH_DIR)
-- Markus Rathgeb Public Key Server: http://wwwkeys.us.pgp.net/ bzw. hkp://wwwkeys.us.pgp.net/ Public Key Server: http://stinkfoot.org:11371/ bzw. hkp://stinkfoot.org "Erst nachdem wir alles verloren haben, haben wir die Freiheit, alles zu tun." "It's only after we've lost everything, that we're free to do anything!"
signature.asc
Description: This is a digitally signed message part.
-- ptxdist mailing list ptxdist@pengutronix.de