summaryrefslogtreecommitdiff
path: root/dev-libs/libmemcache
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-13 06:19:51 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-13 06:19:51 +0000
commit8be70107efbb417f839292165ee39d07a062046f (patch)
tree013918887ec4a00f0cefdb4b4d1313cbc3054305 /dev-libs/libmemcache
parent343a7272d559a21a0e0ed13cb743fabb2bfcc479 (diff)
gentoo resync : 13.01.2018
Diffstat (limited to 'dev-libs/libmemcache')
-rw-r--r--dev-libs/libmemcache/Manifest1
-rw-r--r--dev-libs/libmemcache/libmemcache-1.4.0_rc2-r2.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-libs/libmemcache/Manifest b/dev-libs/libmemcache/Manifest
index 91957b10a327..9b59a54936b4 100644
--- a/dev-libs/libmemcache/Manifest
+++ b/dev-libs/libmemcache/Manifest
@@ -3,4 +3,5 @@ AUX libmemcache-1.4.0_rc2-inline.patch 2051 BLAKE2B 80b6b6afdb818f8f27d574f30aa2
AUX libmemcache-1.4.0_rc2-ppc_ftbfs.patch 983 BLAKE2B 15a7b9e02216ed68375d7aba2b5b0b65d9da522db74d6ccb200ceaaf1cc1ff61872db6f657cf832894a02cf0c59448bed52795496d0edd9a86d3366348c052c4 SHA512 4ae7d6b99982934e7a28f7e0dd103341e9f4b7eb514e20cef3c02e428ee8c555c71c8bfdc06f0771ff0b73827251fa5eb4e7bce8014cd5cf2f5148d18b1f56b1
DIST libmemcache-1.4.0.rc2.tar.bz2 301136 BLAKE2B bd30932811012e0d6e383c42fc3e61096d3a4d38f111bb70f04313119aaa1ea65c8709198b3edcad5dd136a809656dcad58603715115cc44affab333bf750302 SHA512 4b8c09c425d48d0ad040d3f01ec3c0d88babefb702b666d5cb3d10eac9993be88d00120b57b6224f7d55ae979d3136de10d5ddc793d9aa7f8b9531b5d79449d0
EBUILD libmemcache-1.4.0_rc2-r1.ebuild 1042 BLAKE2B 96a1ceb60a04859cb09a1f9eae486538888396b4f8ed26d4607f54ffb795d06475be415e4efa930cc2c650ec29329ea3fcac0dfbf33e647c551031ca9c745a6e SHA512 232afae4296e1362764ea1ed0ce568eb0efd9396c921b99d0e8b71c8ea437b12f32ae677bc02a5b3d3bc7ba90d96af83087b1a4241f0705aa84928931ad5f4de
+EBUILD libmemcache-1.4.0_rc2-r2.ebuild 1061 BLAKE2B 7fcee048d7c601c3ba3436c336dd808f348d0ffd895cbfe840fdefce9b4d6139330d61a3dfdbefa14b5a14d9f88fdb1944943a8a7677689588f821b5f16330dc SHA512 db99d49c555e6bb364fedef4450ced5bea0e30fbc9abdb91b68d08ad349ab1abdc182120b4810d10234d0006581f92fc0ddde7a2674b6424ca46715a0ce6a6b2
MISC metadata.xml 304 BLAKE2B cf6f26fa6563aa19ef922e08b525d5f70af1e8df8ad6396a67ac6f956b75879ab0af1f7d65d2306518f56d52480bb27a7936fc32e31b858eb4cdb4db9ed19fdc SHA512 de92a462028eebdb520fd2a745eeffd845615fbace7691bc954997113a2b0f273f5b9fdcaebc299ae510d3fafa611397ac468b8b13fd44c00488fbc210b3358c
diff --git a/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r2.ebuild b/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r2.ebuild
new file mode 100644
index 000000000000..30154cf19961
--- /dev/null
+++ b/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils toolchain-funcs
+
+MY_P=${PN}-${PV/_/.}
+
+DESCRIPTION="C API for memcached"
+HOMEPAGE="http://people.freebsd.org/~seanc/libmemcache/"
+SRC_URI="http://people.freebsd.org/~seanc/libmemcache/${MY_P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-inline.patch
+ epatch "${FILESDIR}"/${P}-implicit_pointer.patch
+ [[ $(tc-arch) == ppc* ]] && epatch "${FILESDIR}"/${P}-ppc_ftbfs.patch
+
+ rm -rf test/unit || die
+ sed -i -e '/DIR/s,unit,,g' test/Makefile.am || die
+ sed -i \
+ -e 's,test/unit/Makefile,,g' \
+ -e '/^CFLAGS=.*Wall.*pipe/s,-Wall,${CFLAGS} -Wall,g' \
+ -e '/^OPTIMIZE=/d' \
+ -e '/^PROFILE=/d' \
+ configure.ac || die
+
+ eautoreconf
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc ChangeLog
+}