diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2022-04-29 11:07:05 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-05-16 23:30:19 +0000 |
commit | b9779237803d0e53e4f57439d97a5ef3d8800abe (patch) | |
tree | f9ee5620206bc0b168673cf20855b996fc1db14d /dev-libs/libmemcached-awesome | |
parent | user.eclass: Avoid reserved function name (diff) | |
download | gentoo-b9779237803d0e53e4f57439d97a5ef3d8800abe.tar.gz gentoo-b9779237803d0e53e4f57439d97a5ef3d8800abe.tar.bz2 gentoo-b9779237803d0e53e4f57439d97a5ef3d8800abe.zip |
dev-libs/libmemcached-awesome: new package
libmemcache 1.0.18 was released in February 2014, so hasn't received an
update for 8 years.
libmemcache-awesome is a fork providing same libraries, tools with
API/ABI compatibility.
Closes: https://bugs.gentoo.org/841605
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libmemcached-awesome')
-rw-r--r-- | dev-libs/libmemcached-awesome/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.1.ebuild | 40 | ||||
-rw-r--r-- | dev-libs/libmemcached-awesome/metadata.xml | 19 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/libmemcached-awesome/Manifest b/dev-libs/libmemcached-awesome/Manifest new file mode 100644 index 000000000000..50f37410c29c --- /dev/null +++ b/dev-libs/libmemcached-awesome/Manifest @@ -0,0 +1 @@ +DIST libmemcached-awesome-1.1.1.tar.gz 527161 BLAKE2B 8eedefc35ef1964efd653523ade11da5233ddbab620e34552f963b6138a19f358adfde57fc5955f4ae28c755df2e39d716cb36fb96eef0c14a54ddce20dd8e39 SHA512 b5de32a3db506fb70f2da2bb029a10129667e1a1b054e0cd68ed4f8f99c5b514c2c3e14cb714dbb83de5a138d6a0b867bfc956f08ba9d2b02f050115ae175af5 diff --git a/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.1.ebuild b/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.1.ebuild new file mode 100644 index 000000000000..8cde5918b234 --- /dev/null +++ b/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="a C/C++ memcached client library" +HOMEPAGE="https://github.com/awesomized/libmemcached" +SRC_URI="https://github.com/awesomized/libmemcached/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/libmemcached-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+libevent sasl test" +RESTRICT="!test? ( test )" + +RDEPEND="!dev-libs/libmemcached + libevent? ( dev-libs/libevent:= ) + sasl? ( dev-libs/cyrus-sasl:2 )" +DEPEND="${RDEPEND} + test? ( net-misc/memcached )" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + -DENABLE_DTRACE=OFF + -DENABLE_SASL=$(usex sasl) + ) + + cmake_src_configure +} + +# Running tests: +# +# FEATURES="test -network-sandbox" \ +# USE="test" \ +# emerge dev-libs/libmemcached-awesome diff --git a/dev-libs/libmemcached-awesome/metadata.xml b/dev-libs/libmemcached-awesome/metadata.xml new file mode 100644 index 000000000000..c65546e91187 --- /dev/null +++ b/dev-libs/libmemcached-awesome/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>hydrapolic@gmail.com</email> + <name>Tomáš Mózes</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">awesomized/libmemcached</remote-id> + </upstream> + <use> + <flag name="libevent">Use the libevent event loop interface.</flag> + <flag name="sasl">Use sasl auth for communications.</flag> + </use> +</pkgmetadata> |