gentoo-ebuilds/dev-db/pgmemcache/pgmemcache-2.3.0-r1.ebuild
Sam James 7bfe410ea6
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>
2025-07-18 16:18:06 +01:00

27 lines
629 B
Bash

# 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
}