From: | "Matt Thode (prometheanfire)" <prometheanfire@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/libmemcached: libmemcached-1.0.17-r4.ebuild |
Date: | Sun, 09 Feb 2014 22:58:47 |
Message-Id: | 20140209225843.0462D2004C@flycatcher.gentoo.org |
1 | prometheanfire 14/02/09 22:58:42 |
2 | |
3 | Added: libmemcached-1.0.17-r4.ebuild |
4 | Log: |
5 | hopefully fixing bug 490210 |
6 | |
7 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/libmemcached/libmemcached-1.0.17-r4.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmemcached/libmemcached-1.0.17-r4.ebuild?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmemcached/libmemcached-1.0.17-r4.ebuild?rev=1.1&content-type=text/plain |
14 | |
15 | Index: libmemcached-1.0.17-r4.ebuild |
16 | =================================================================== |
17 | # Copyright 1999-2014 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcached/libmemcached-1.0.17-r4.ebuild,v 1.1 2014/02/09 22:58:42 prometheanfire Exp $ |
20 | |
21 | EAPI=5 |
22 | |
23 | inherit autotools eutils multilib |
24 | RESTRICT="test" # https://bugs.gentoo.org/show_bug.cgi?id=498250 https://bugs.launchpad.net/gentoo/+bug/1278023 |
25 | |
26 | DESCRIPTION="a C client library to the memcached server" |
27 | HOMEPAGE="http://libmemcached.org/libMemcached.html" |
28 | SRC_URI="http://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz" |
29 | |
30 | LICENSE="BSD" |
31 | SLOT="0" |
32 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
33 | IUSE="debug hsieh +libevent sasl static-libs" |
34 | |
35 | DEPEND="net-misc/memcached |
36 | sasl? ( dev-libs/cyrus-sasl ) |
37 | libevent? ( dev-libs/libevent )" |
38 | RDEPEND="${DEPEND}" |
39 | |
40 | src_prepare() { |
41 | sed -i '6i CFLAGS = @CFLAGS@' Makefile.am |
42 | epatch "${FILESDIR}/${PN}-1.0.17-gcc4_8.patch" |
43 | eautoreconf |
44 | } |
45 | |
46 | src_configure() { |
47 | econf \ |
48 | --disable-dtrace \ |
49 | $(use_enable static-libs static) \ |
50 | $(use_enable sasl sasl) \ |
51 | $(use_enable debug debug) \ |
52 | $(use_enable debug assert) \ |
53 | $(use_enable hsieh hsieh_hash) \ |
54 | --libdir=/usr/$(get_libdir) \ |
55 | ${myconf} |
56 | } |
57 | |
58 | src_install() { |
59 | emake DESTDIR="${D}" install |
60 | |
61 | use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la |
62 | |
63 | dodoc AUTHORS ChangeLog README THANKS TODO |
64 | # remove manpage to avoid collision, see bug #299330 |
65 | rm -f "${D}"/usr/share/man/man1/memdump.* |
66 | newman man/memdump.1 memcached_memdump.1 |
67 | } |