diff options
author | George McCollister <george.mccollister@gmail.com> | 2010-11-19 14:17:12 -0600 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-11-23 13:12:54 +0100 |
commit | 4c3c09989f6915cd88747f569361cb4121467bfa (patch) | |
tree | 9053582aef66186d1e127658c2f6d6e081b35891 /rules | |
parent | e60c86a20bf452c403f054a4762166974907ce51 (diff) | |
download | ptxdist-4c3c09989f6915cd88747f569361cb4121467bfa.tar.gz ptxdist-4c3c09989f6915cd88747f569361cb4121467bfa.tar.xz |
libmemcache: added new packet
I added a new packet libmemcache. A client library for memcached.
Signed-off-by: George McCollister <george.mccollister@gmail.com>
[mkl: beautified indention]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/libmemcache.in | 9 | ||||
-rw-r--r-- | rules/libmemcache.make | 59 |
2 files changed, 68 insertions, 0 deletions
diff --git a/rules/libmemcache.in b/rules/libmemcache.in new file mode 100644 index 000000000..793ae9e8b --- /dev/null +++ b/rules/libmemcache.in @@ -0,0 +1,9 @@ +## SECTION=system_libraries + +config LIBMEMCACHE + tristate + prompt "libmemcache" + help + libmemcache is the C API for memcached(8), a high-performance, + distributed memory object caching system. + diff --git a/rules/libmemcache.make b/rules/libmemcache.make new file mode 100644 index 000000000..65bff26bb --- /dev/null +++ b/rules/libmemcache.make @@ -0,0 +1,59 @@ +# -*-makefile-*- +# +# Copyright (C) 2010 by NovaTech-LLC +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_LIBMEMCACHE) += libmemcache + +# +# Paths and names +# +LIBMEMCACHE_VERSION := 1.4.0.rc2 +LIBMEMCACHE := libmemcache-$(LIBMEMCACHE_VERSION) +LIBMEMCACHE_SUFFIX := tar.bz2 +LIBMEMCACHE_URL := http://people.freebsd.org/~seanc/libmemcache/$(LIBMEMCACHE).$(LIBMEMCACHE_SUFFIX) +LIBMEMCACHE_SOURCE := $(SRCDIR)/$(LIBMEMCACHE).$(LIBMEMCACHE_SUFFIX) +LIBMEMCACHE_DIR := $(BUILDDIR)/$(LIBMEMCACHE) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBMEMCACHE_ENV := \ + $(CROSS_ENV) \ + ac_cv_setsockopt_SO_RCVTIMEO=no \ + ac_cv_setsockopt_SO_SNDTIMEO=no + +# +# autoconf +# +LIBMEMCACHE_AUTOCONF := $(CROSS_AUTOCONF_USR) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libmemcache.targetinstall: + @$(call targetinfo) + + @$(call install_init, libmemcache) + @$(call install_fixup, libmemcache, PRIORITY, optional) + @$(call install_fixup, libmemcache, SECTION, base) + @$(call install_fixup, libmemcache, AUTHOR, "NovaTech-LLC") + @$(call install_fixup, libmemcache, DESCRIPTION, missing) + + @$(call install_lib, libmemcache, 0, 0, 0644, libmemcache) + + @$(call install_finish, libmemcache) + + @$(call touch) + +# vim: syntax=make |