summaryrefslogtreecommitdiff
path: root/net-proxy/nutcracker/nutcracker-0.4.1-r1.ebuild
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 12:31:52 +0100
committerSam James <sam@gentoo.org>2021-04-19 20:11:35 +0100
commit471e9f260b52b4006315753d1311c94fcd0a4acf (patch)
tree7771f03a1a995f45a78c443898e71775f76aaa0a /net-proxy/nutcracker/nutcracker-0.4.1-r1.ebuild
parentb7f1deae6e7e5aa1ba57dedf05534376306806e8 (diff)
downloadgentoo-471e9f260b52b4006315753d1311c94fcd0a4acf.tar.gz
gentoo-471e9f260b52b4006315753d1311c94fcd0a4acf.tar.bz2
gentoo-471e9f260b52b4006315753d1311c94fcd0a4acf.zip
net-proxy/nutcracker: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-proxy/nutcracker/nutcracker-0.4.1-r1.ebuild')
-rw-r--r--net-proxy/nutcracker/nutcracker-0.4.1-r1.ebuild17
1 files changed, 11 insertions, 6 deletions
diff --git a/net-proxy/nutcracker/nutcracker-0.4.1-r1.ebuild b/net-proxy/nutcracker/nutcracker-0.4.1-r1.ebuild
index 120095057bd4..3203b919e775 100644
--- a/net-proxy/nutcracker/nutcracker-0.4.1-r1.ebuild
+++ b/net-proxy/nutcracker/nutcracker-0.4.1-r1.ebuild
@@ -1,13 +1,14 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit autotools epatch
+inherit autotools
DESCRIPTION="A fast, light-weight proxy for Memcached and Redis. (Twitter's Twemproxy)"
HOMEPAGE="https://github.com/twitter/twemproxy"
-SRC_URI="https://github.com/twitter/twemproxy/archive/v0.4.1.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/twitter/twemproxy/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/twemproxy-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
@@ -16,12 +17,16 @@ IUSE="debug doc"
DEPEND=">=dev-libs/libyaml-0.1.4"
RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
-S="${WORKDIR}/twemproxy-${PV}"
+PATCHES=(
+ # Let's use system libyaml
+ "${FILESDIR}"/${PN}-0.3.0-use-system-libyaml.patch
+)
src_prepare() {
- # Lets use system libyaml
- epatch "${FILESDIR}/${PN}-0.3.0-use-system-libyaml.patch"
+ default
+
eautoreconf
}