summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-10-22 21:02:21 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-10-22 21:02:21 +0000
commitce81fab78af2953fa097c7b69f2068121e80cce7 (patch)
tree0b608f528fe27aa0cf91107b536e13422efa8228 /dev-libs/libmemcached/libmemcached-0.34.ebuild
parentInitial commit for KDE4 (from kde-overlay). (diff)
downloadgentoo-2-ce81fab78af2953fa097c7b69f2068121e80cce7.tar.gz
gentoo-2-ce81fab78af2953fa097c7b69f2068121e80cce7.tar.bz2
gentoo-2-ce81fab78af2953fa097c7b69f2068121e80cce7.zip
Bump, fixes #288173. Thanks to Johan Bergstrom for the test fixups.
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libmemcached/libmemcached-0.34.ebuild')
-rw-r--r--dev-libs/libmemcached/libmemcached-0.34.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/libmemcached/libmemcached-0.34.ebuild b/dev-libs/libmemcached/libmemcached-0.34.ebuild
new file mode 100644
index 000000000000..b4f4565bcfa0
--- /dev/null
+++ b/dev-libs/libmemcached/libmemcached-0.34.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcached/libmemcached-0.34.ebuild,v 1.1 2009/10/22 21:02:21 patrick Exp $
+
+inherit eutils
+
+DESCRIPTION="a C client library to the memcached server"
+HOMEPAGE="http://tangent.org/552/libmemcached.html"
+SRC_URI="http://download.tangent.org/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd"
+IUSE="debug hsieh"
+
+DEPEND="net-misc/memcached"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.28-runtestsasuser.patch
+}
+
+src_compile() {
+ econf \
+ $(use_with debug debug) \
+ $(use_enable hsieh hsieh_hash)
+ emake || die "Build failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+}
+
+src_test() {
+ cd tests || die "Tests failed"
+ emake testapp testplus library_test || die "Tests failed"
+}