diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-05-05 19:37:00 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-05-05 19:37:00 +0000 |
commit | 810dba5fde06b1891f23041b81a6558b95387e2c (patch) | |
tree | 2626095d6eb95990751739669aa2e9a2d2d0c494 /dev-libs/libmemcached/libmemcached-0.28.ebuild | |
parent | stable x86, bug 261720 (diff) | |
download | historical-810dba5fde06b1891f23041b81a6558b95387e2c.tar.gz historical-810dba5fde06b1891f23041b81a6558b95387e2c.tar.bz2 historical-810dba5fde06b1891f23041b81a6558b95387e2c.zip |
Bug #267095: version bump. Testsuite now available thanks to patches from Johan Bergström <bugs@bergstroem.nu>.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libmemcached/libmemcached-0.28.ebuild')
-rw-r--r-- | dev-libs/libmemcached/libmemcached-0.28.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/libmemcached/libmemcached-0.28.ebuild b/dev-libs/libmemcached/libmemcached-0.28.ebuild new file mode 100644 index 000000000000..e529ceed0bdc --- /dev/null +++ b/dev-libs/libmemcached/libmemcached-0.28.ebuild @@ -0,0 +1,38 @@ +# 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.28.ebuild,v 1.1 2009/05/05 19:37:00 robbat2 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 ~sparc-fbsd ~x86" +IUSE="test" + +DEPEND="net-misc/memcached" +RDEPEND="${DEPEND}" + +#RESTRICT="test" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-0.28-runtestsasuser.patch + epatch "${FILESDIR}"/${PN}-0.28-removebogustest.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README THANKS TODO +} + +src_test() { + vecho ">>> Test phase [test]: ${CATEGORY}/${PF}" + emake test || die "tests failed" + vecho ">>> Test phase [none]: ${CATEGORY}/${PF}" +} + |