/[gentoo-x86]/dev-libs/libmemcached/libmemcached-0.30.ebuild
Gentoo

Contents of /dev-libs/libmemcached/libmemcached-0.30.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Jul 31 20:03:00 2011 UTC (9 years, 4 months ago) by mattst88
Branch: MAIN
Changes since 1.2: +3 -3 lines
Drop ~mips keywords. No reverse dependency has mips keywords.

(Portage version: 2.1.10.3/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcached/libmemcached-0.30.ebuild,v 1.2 2010/01/31 19:51:20 tove Exp $
4
5 inherit eutils
6
7 DESCRIPTION="a C client library to the memcached server"
8 HOMEPAGE="http://tangent.org/552/libmemcached.html"
9 SRC_URI="http://download.tangent.org/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd"
14 IUSE="test"
15
16 DEPEND="net-misc/memcached"
17 RDEPEND="${DEPEND}"
18
19 #RESTRICT="test"
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24 epatch "${FILESDIR}"/${PN}-0.28-runtestsasuser.patch
25 epatch "${FILESDIR}"/${PN}-0.28-removebogustest.patch
26 }
27
28 src_install() {
29 emake DESTDIR="${D}" install || die "emake install failed."
30 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
31 }
32
33 src_test() {
34 echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
35 emake test || die "tests failed"
36 echo ">>> Test phase [none]: ${CATEGORY}/${PF}"
37 }

  ViewVC Help
Powered by ViewVC 1.1.20