diff options
author | 2015-01-14 01:59:54 +0000 | |
---|---|---|
committer | 2015-01-14 01:59:54 +0000 | |
commit | 515cba24fd07ad56097fe43304311d858e818d1b (patch) | |
tree | 8296a7b67519a96133ab3710c229a4a3ed4df70a /dev-libs/libmemcached | |
parent | Security bump, misc bug fixes (diff) | |
download | gentoo-2-515cba24fd07ad56097fe43304311d858e818d1b.tar.gz gentoo-2-515cba24fd07ad56097fe43304311d858e818d1b.tar.bz2 gentoo-2-515cba24fd07ad56097fe43304311d858e818d1b.zip |
readding because I shouldn't have removed it
(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0x33ED3FD25AFC78BA)
Diffstat (limited to 'dev-libs/libmemcached')
-rw-r--r-- | dev-libs/libmemcached/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libmemcached/libmemcached-0.50.ebuild | 66 |
2 files changed, 73 insertions, 1 deletions
diff --git a/dev-libs/libmemcached/ChangeLog b/dev-libs/libmemcached/ChangeLog index 36cee479653f..a25497413e91 100644 --- a/dev-libs/libmemcached/ChangeLog +++ b/dev-libs/libmemcached/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libmemcached # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcached/ChangeLog,v 1.80 2015/01/13 21:37:45 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcached/ChangeLog,v 1.81 2015/01/14 01:59:54 prometheanfire Exp $ + +*libmemcached-0.50 (14 Jan 2015) + + 14 Jan 2015; Matthew Thode <prometheanfire@gentoo.org> + +libmemcached-0.50.ebuild: + readding because I shouldn't have removed it *libmemcached-1.0.18-r2 (13 Jan 2015) diff --git a/dev-libs/libmemcached/libmemcached-0.50.ebuild b/dev-libs/libmemcached/libmemcached-0.50.ebuild new file mode 100644 index 000000000000..0c7db69a14ac --- /dev/null +++ b/dev-libs/libmemcached/libmemcached-0.50.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcached/libmemcached-0.50.ebuild,v 1.14 2015/01/14 01:59:54 prometheanfire Exp $ + +EAPI="3" + +inherit eutils multilib + +DESCRIPTION="a C client library to the memcached server" +HOMEPAGE="http://tangent.org/552/libmemcached.html" +SRC_URI="http://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="debug doc hsieh +libevent sasl static-libs tcmalloc" + +DEPEND="net-misc/memcached + virtual/perl-Pod-Parser + doc? ( dev-python/sphinx ) + libevent? ( dev-libs/libevent ) + tcmalloc? ( dev-util/google-perftools ) + sasl? ( virtual/gsasl )" +RDEPEND="${DEPEND}" + +src_prepare() { + # These tests freezes for me + sed -i -e "/connectionpool/d" \ + -e "/lp:583031/d" tests/mem_functions.cc || die +} + +src_configure() { + econf \ + --disable-dtrace \ + --disable-libinnodb \ + $(use_enable debug assert) \ + $(use_with debug debug) \ + $(use_enable hsieh hsieh_hash) \ + $(use_enable libevent libevent) \ + $(use_enable tcmalloc tcmalloc) \ + $(use_with sasl libsasl-prefix) \ + $(use_with sasl libsasl2-prefix) \ + $(use_enable static-libs static) +} + +src_compile() { + emake || die + + if use doc; then + emake html-local || die + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + + use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la + + dodoc AUTHORS ChangeLog README THANKS TODO + # remove manpage to avoid collision, see bug #299330 + rm -f "${D}"/usr/share/man/man1/memdump.* || die "Install failed" + newman docs/man/memdump.1 memcached_memdump.1 + if use doc; then + dohtml -r docs/html/* || die + fi +} |