public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexys Jacob" <ultrabug@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/ultrabug:master commit in: dev-libs/libaerospike/
Date: Fri, 10 Apr 2015 15:02:16 +0000 (UTC)	[thread overview]
Message-ID: <1428678125.3de3b0325b61c347f2fcce60854d689676f0f6ce.ultrabug@gentoo> (raw)

commit:     3de3b0325b61c347f2fcce60854d689676f0f6ce
Author:     Ultrabug <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 10 15:02:05 2015 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Fri Apr 10 15:02:05 2015 +0000
URL:        https://gitweb.gentoo.org/dev/ultrabug.git/commit/?id=3de3b032

new dev-libs/libaerospike

 dev-libs/libaerospike/Manifest                   |  1 +
 dev-libs/libaerospike/libaerospike-3.1.11.ebuild | 54 ++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-libs/libaerospike/Manifest b/dev-libs/libaerospike/Manifest
new file mode 100644
index 0000000..22e570f
--- /dev/null
+++ b/dev-libs/libaerospike/Manifest
@@ -0,0 +1 @@
+EBUILD libaerospike-3.1.11.ebuild 1257 SHA256 74b029fe5dcc9682b400b8fbdaacea4385a9216157b573c1be6c5a2a6a4c9c44 SHA512 ef2cabb2cc994bbc87ca2fceba1f69bdf9a1d746e6c40248b704efd29ab4dab8a03d74713f51963c17e039dbdc52e91d21c07900760554609ad8f46224a54250 WHIRLPOOL 0eb19aee04e2d75f1db2db3930761b2c81d35a9a15a5de690120d33645fcdd38c39ef4920d6452857900c2c8b0dc2fa09e761e765a73363a1770adbeca31f1e2

diff --git a/dev-libs/libaerospike/libaerospike-3.1.11.ebuild b/dev-libs/libaerospike/libaerospike-3.1.11.ebuild
new file mode 100644
index 0000000..a562926
--- /dev/null
+++ b/dev-libs/libaerospike/libaerospike-3.1.11.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+EGIT_REPO_URI="https://github.com/aerospike/aerospike-client-c.git"
+
+inherit autotools git-2
+
+DESCRIPTION="Aerospike C Client"
+HOMEPAGE="https://github.com/aerospike/aerospike-client-c"
+SRC_URI=""
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="luajit +static-libs"
+
+S="${WORKDIR}/aerospike-client-c-${PV}"
+
+# tests fails to build ?
+RESTRICT="test"
+
+RDEPEND=">=dev-lang/lua-5.1.5:*
+	>=dev-libs/openssl-1.0.1g:=
+	dev-vcs/git
+	luajit? ( >=dev-lang/luajit-2.0.3:* )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	#TODO: still using bundled libs, that sucks
+	#sed -e 's/^USE_LUAMOD = 1/USE_LUAMOD = 0/g' -i Makefile
+
+	# luajit USE
+	use luajit && sed -e 's/^USE_LUAJIT = 0/USE_LUAJIT = 1/g' -i Makefile
+
+	git submodule update --init
+}
+
+src_compile() {
+	CC=$(tc-getCC) LD=$(tc-getCC) MAKEOPTS="-j1" emake all
+}
+
+src_install() {
+	dolib target/Linux-x86_64/lib/libaerospike.so
+	use static-libs && dolib.a target/Linux-x86_64/lib/libaerospike.a
+
+	insinto /usr/include/
+	doins -r target/Linux-x86_64/include/{aerospike,citrusleaf,ck}
+
+	insinto /opt/aerospike/client/sys/udf/lua/
+	doins modules/lua-core/src/{aerospike,as,stream_ops}.lua
+}


             reply	other threads:[~2015-04-10 15:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-10 15:02 Alexys Jacob [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-04-20 10:52 [gentoo-commits] dev/ultrabug:master commit in: dev-libs/libaerospike/ Alexys Jacob
2015-08-06 12:23 Alexys Jacob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1428678125.3de3b0325b61c347f2fcce60854d689676f0f6ce.ultrabug@gentoo \
    --to=ultrabug@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox