summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/pgmemcache/pgmemcache-2.0.1.ebuild')
-rw-r--r--dev-db/pgmemcache/pgmemcache-2.0.1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-db/pgmemcache/pgmemcache-2.0.1.ebuild b/dev-db/pgmemcache/pgmemcache-2.0.1.ebuild
new file mode 100644
index 000000000..2c3638c88
--- /dev/null
+++ b/dev-db/pgmemcache/pgmemcache-2.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit versionator
+
+MY_PV=$(delete_version_separator '_')
+MY_P=${PN}_${MY_PV/rc/RC}
+DESCRIPTION="A PostgreSQL API based on libmemcached to interface with memcached"
+HOMEPAGE="http://pgfoundry.org/projects/pgmemcache"
+SRC_URI="http://pgfoundry.org/frs/download.php/2565/${MY_P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=virtual/postgresql-base-8.3
+ >=dev-libs/libmemcached-0.31"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc README.pgmemcache NEWS || die "install documentation failed"
+}