diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-10-24 07:53:24 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-10-24 07:53:24 +0000 |
commit | e308791e17772400dfe45dfd5949fcd39e9aa647 (patch) | |
tree | e3b5ef094731bbaa1c73963a91ffd89e25b640fd /dev-libs/libmemcached/libmemcached-0.34-r1.ebuild | |
parent | Version bump. (diff) | |
download | historical-e308791e17772400dfe45dfd5949fcd39e9aa647.tar.gz historical-e308791e17772400dfe45dfd5949fcd39e9aa647.tar.bz2 historical-e308791e17772400dfe45dfd5949fcd39e9aa647.zip |
eapi2 and small cleanups from Johan Bergstrom
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libmemcached/libmemcached-0.34-r1.ebuild')
-rw-r--r-- | dev-libs/libmemcached/libmemcached-0.34-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/libmemcached/libmemcached-0.34-r1.ebuild b/dev-libs/libmemcached/libmemcached-0.34-r1.ebuild new file mode 100644 index 000000000000..0d5d365c1fcc --- /dev/null +++ b/dev-libs/libmemcached/libmemcached-0.34-r1.ebuild @@ -0,0 +1,39 @@ +# 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-r1.ebuild,v 1.1 2009/10/24 07:53:24 patrick Exp $ + +EAPI=2 + +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_prepare() { + epatch "${FILESDIR}/${PN}-0.28-runtestsasuser.patch" +} + +src_configure() { + econf \ + $(use_with debug debug) \ + $(use_enable hsieh hsieh_hash) +} + +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" +}
\ No newline at end of file |