summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Mózes <hydrapolic@gmail.com>2023-03-09 13:37:35 +0000
committerSam James <sam@gentoo.org>2023-03-11 17:15:02 +0000
commit653e38adf605efa1601beacef28b1c0efe82c8c4 (patch)
tree4bb0385c890370e035a1cae6ef3f662ce0f91eb5 /dev-libs/libmemcached-awesome
parentmedia-gfx/hydrus: Add 519, update 9999 (diff)
downloadgentoo-653e38adf605efa1601beacef28b1c0efe82c8c4.tar.gz
gentoo-653e38adf605efa1601beacef28b1c0efe82c8c4.tar.bz2
gentoo-653e38adf605efa1601beacef28b1c0efe82c8c4.zip
dev-libs/libmemcached-awesome: add 1.1.4
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30019 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libmemcached-awesome')
-rw-r--r--dev-libs/libmemcached-awesome/Manifest1
-rw-r--r--dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.4.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/libmemcached-awesome/Manifest b/dev-libs/libmemcached-awesome/Manifest
index c5d464f5555f..a94c09235953 100644
--- a/dev-libs/libmemcached-awesome/Manifest
+++ b/dev-libs/libmemcached-awesome/Manifest
@@ -1,2 +1,3 @@
DIST libmemcached-awesome-1.1.2.tar.gz 527675 BLAKE2B 436c3dcfed00a66459064a58a4d82e22f6f4a624a1f462949d2d3d8536b1342cbb7f0d5f883a86cce119dbcada4597c664609b7f9334bd321a5f1d314e5906b0 SHA512 3b9b6b1b09b39c845b5169841902d45e470f99af65765c9ae5d405d4eb1b6884e49831ccfb128df67beeda45eeed5e0f41ee475560cabcfa98e8196134182a53
DIST libmemcached-awesome-1.1.3.tar.gz 527880 BLAKE2B b3d91b9eeb335b3fa7b910842b3c31326669aa9634ab6c87a3247bf8279037f5c2470b653fed851bf1708559af1a1edab52707c19eb6ea89ac6cb92424290d4a SHA512 99fb2ad32c05f8af769f5b30983b7c4244cd7ee027ccc8f893a957de4ffb12939959e2461c9acd20a8d21e0af824606e97d54465b7147337f40313c5eddf474b
+DIST libmemcached-awesome-1.1.4.tar.gz 530337 BLAKE2B b3309e4e7ab737d06255ce9e8d2b8644e2787dca73c0b09de8bbf9c99b8126cb5eee9ef2f7320c312f35ed8e29c70e1c1042dc80587982d9bcb7200d79bba5b2 SHA512 0a10a2431142ec6e4547f82fdd35b55c018264e5f8c39910a65252c3f53d862fb5945e7a671951915aac076767cc995740b3e499eb584017a38eb2d1e82171fb
diff --git a/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.4.ebuild b/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.4.ebuild
new file mode 100644
index 000000000000..f74a0725e90f
--- /dev/null
+++ b/dev-libs/libmemcached-awesome/libmemcached-awesome-1.1.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2022-2023 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 ~arm ~arm64 ~x86"
+IUSE="+libevent sasl test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="!app-forensics/memdump
+ !dev-libs/libmemcached
+ libevent? ( dev-libs/libevent:= )
+ sasl? ( dev-libs/cyrus-sasl:2 )"
+DEPEND="${RDEPEND}
+ test? ( net-misc/memcached )"
+BDEPEND="sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=$(usex test)
+ -DENABLE_DTRACE=OFF
+ -DENABLE_SASL=$(usex sasl)
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ local myctestargs=(
+ # memcached_regression_lp583031: needs network, bug #845123
+ # bin/memaslap: tries to use Portage HOMEDIR, bug #845123
+ -E "(memcached_regression_lp583031|bin/memaslap|memcached_udp)"
+ )
+
+ cmake_src_test
+}