summaryrefslogtreecommitdiff
path: root/dev-db/pgmemcache
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-07-18 16:02:41 +0100
committerSam James <sam@gentoo.org>2025-07-18 16:18:06 +0100
commit7bfe410ea66f26cac921b46fc9e134417ec64469 (patch)
tree7fe5f511d3b7682035ae678a3a9161c61662c96d /dev-db/pgmemcache
parente41646d2f1853e91ee09129ecc29869524ac1e74 (diff)
downloadgentoo-7bfe410ea66f26cac921b46fc9e134417ec64469.tar.gz
gentoo-7bfe410ea66f26cac921b46fc9e134417ec64469.tar.bz2
gentoo-7bfe410ea66f26cac921b46fc9e134417ec64469.zip
dev-db/pgmemcache: allow use of dev-libs/libmemcached-awesome
dev-libs/libmemcached-awesome is an API & ABI compatible fork of dev-libs/libmemcached. The latter hasn't had updates or fixes in quite some time. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/pgmemcache')
-rw-r--r--dev-db/pgmemcache/pgmemcache-2.3.0-r1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-db/pgmemcache/pgmemcache-2.3.0-r1.ebuild b/dev-db/pgmemcache/pgmemcache-2.3.0-r1.ebuild
new file mode 100644
index 000000000000..3523a105d071
--- /dev/null
+++ b/dev-db/pgmemcache/pgmemcache-2.3.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A PostgreSQL API based on libmemcached to interface with memcached"
+HOMEPAGE="http://pgfoundry.org/projects/pgmemcache https://github.com/ohmu/pgmemcache"
+SRC_URI="https://github.com/ohmu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ dev-db/postgresql
+ dev-libs/cyrus-sasl
+ || (
+ dev-libs/libmemcached-awesome[sasl]
+ >=dev-libs/libmemcached-1.0.18[sasl]
+ )
+"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install
+ einstalldocs
+}