* [gentoo-commits] dev/ultrabug:master commit in: dev-libs/libaerospike/
@ 2015-04-10 15:02 Alexys Jacob
0 siblings, 0 replies; 3+ messages in thread
From: Alexys Jacob @ 2015-04-10 15:02 UTC (permalink / raw
To: gentoo-commits
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
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] dev/ultrabug:master commit in: dev-libs/libaerospike/
@ 2015-04-20 10:52 Alexys Jacob
0 siblings, 0 replies; 3+ messages in thread
From: Alexys Jacob @ 2015-04-20 10:52 UTC (permalink / raw
To: gentoo-commits
commit: 8d3678f29289a252b50bbc710c6a96e3cc6499ee
Author: Ultrabug <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 20 10:52:14 2015 +0000
Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Mon Apr 20 10:52:14 2015 +0000
URL: https://gitweb.gentoo.org/dev/ultrabug.git/commit/?id=8d3678f2
add maintainer note
dev-libs/libaerospike/Manifest | 2 +-
dev-libs/libaerospike/libaerospike-3.1.11.ebuild | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-libs/libaerospike/Manifest b/dev-libs/libaerospike/Manifest
index 22e570f..e704ad5 100644
--- a/dev-libs/libaerospike/Manifest
+++ b/dev-libs/libaerospike/Manifest
@@ -1 +1 @@
-EBUILD libaerospike-3.1.11.ebuild 1257 SHA256 74b029fe5dcc9682b400b8fbdaacea4385a9216157b573c1be6c5a2a6a4c9c44 SHA512 ef2cabb2cc994bbc87ca2fceba1f69bdf9a1d746e6c40248b704efd29ab4dab8a03d74713f51963c17e039dbdc52e91d21c07900760554609ad8f46224a54250 WHIRLPOOL 0eb19aee04e2d75f1db2db3930761b2c81d35a9a15a5de690120d33645fcdd38c39ef4920d6452857900c2c8b0dc2fa09e761e765a73363a1770adbeca31f1e2
+EBUILD libaerospike-3.1.11.ebuild 1343 SHA256 55913110b2b7f9c0ec32a9b2533165666390f0ffe4f6bdb0b7497fd1e0bd4f05 SHA512 a7548eecfeed451dcfaf35095cd1c4620230785c328f3d45676673ccdcebf0a1caf7a10ea7ab78be063f2992af75f98b924fa8fc66779f72b643fefc8053c7e3 WHIRLPOOL b88e6b6e083ce33e4998517d9a1c8a95f0372bce753860cba896cc6f4cb6c5615b580706be560b226c0bebc3b4a1ea1ddc76193799e8c995774d056d51cfdb68
diff --git a/dev-libs/libaerospike/libaerospike-3.1.11.ebuild b/dev-libs/libaerospike/libaerospike-3.1.11.ebuild
index a562926..09737c1 100644
--- a/dev-libs/libaerospike/libaerospike-3.1.11.ebuild
+++ b/dev-libs/libaerospike/libaerospike-3.1.11.ebuild
@@ -39,6 +39,8 @@ src_prepare() {
}
src_compile() {
+ # forced MAKEOPTS, see:
+ # https://github.com/aerospike/aerospike-client-c/issues/22
CC=$(tc-getCC) LD=$(tc-getCC) MAKEOPTS="-j1" emake all
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] dev/ultrabug:master commit in: dev-libs/libaerospike/
@ 2015-08-06 12:23 Alexys Jacob
0 siblings, 0 replies; 3+ messages in thread
From: Alexys Jacob @ 2015-08-06 12:23 UTC (permalink / raw
To: gentoo-commits
commit: a348c2a4d4cb71e0edbbb9a15dd8a413854b753b
Author: Ultrabug <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 6 12:23:43 2015 +0000
Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Thu Aug 6 12:23:43 2015 +0000
URL: https://gitweb.gentoo.org/dev/ultrabug.git/commit/?id=a348c2a4
libaerospike version bump
dev-libs/libaerospike/Manifest | 2 +-
.../{libaerospike-3.1.11.ebuild => libaerospike-3.1.20.ebuild} | 10 +++++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/dev-libs/libaerospike/Manifest b/dev-libs/libaerospike/Manifest
index e704ad5..e198127 100644
--- a/dev-libs/libaerospike/Manifest
+++ b/dev-libs/libaerospike/Manifest
@@ -1 +1 @@
-EBUILD libaerospike-3.1.11.ebuild 1343 SHA256 55913110b2b7f9c0ec32a9b2533165666390f0ffe4f6bdb0b7497fd1e0bd4f05 SHA512 a7548eecfeed451dcfaf35095cd1c4620230785c328f3d45676673ccdcebf0a1caf7a10ea7ab78be063f2992af75f98b924fa8fc66779f72b643fefc8053c7e3 WHIRLPOOL b88e6b6e083ce33e4998517d9a1c8a95f0372bce753860cba896cc6f4cb6c5615b580706be560b226c0bebc3b4a1ea1ddc76193799e8c995774d056d51cfdb68
+EBUILD libaerospike-3.1.20.ebuild 1676 SHA256 7a26f91776969e27109818ea1564549b37240050752c5546db982c0c91861654 SHA512 65e8a9bc904ea2eb00ff1699fa176e933837d95ee8e7a755e4250a631a4527cd8f9f38c0fe41468a3eec04a1c5db6f0eeabfbe800400f7d718adf1966bd084bd WHIRLPOOL b0ec2229445c5b4ed6f674caa07139e982aa6354dd88b22c79e45c0cb9c50a40d546ec303d9bd54a98768084e81799fecc715ab3f9f57c97683de592b472adf0
diff --git a/dev-libs/libaerospike/libaerospike-3.1.11.ebuild b/dev-libs/libaerospike/libaerospike-3.1.20.ebuild
similarity index 76%
rename from dev-libs/libaerospike/libaerospike-3.1.11.ebuild
rename to dev-libs/libaerospike/libaerospike-3.1.20.ebuild
index 09737c1..ebe1374 100644
--- a/dev-libs/libaerospike/libaerospike-3.1.11.ebuild
+++ b/dev-libs/libaerospike/libaerospike-3.1.20.ebuild
@@ -36,12 +36,20 @@ src_prepare() {
use luajit && sed -e 's/^USE_LUAJIT = 0/USE_LUAJIT = 1/g' -i Makefile
git submodule update --init
+
+ # main, applies to all modules
+ sed -e "s/CC = cc/CC = $(tc-getCC)/g" \
+ -e "s/LD = cc/CC = $(tc-getCC)/g" \
+ -i project/settings.mk || die
+
+ # include dir
+ sed -e 's@/usr/local@/usr@g' -i Makefile -i modules/mod-lua/Makefile -i modules/luajit/src/Makefile -i modules/ck/Makefile.in -i modules/luajit/Makefile || die
}
src_compile() {
# forced MAKEOPTS, see:
# https://github.com/aerospike/aerospike-client-c/issues/22
- CC=$(tc-getCC) LD=$(tc-getCC) MAKEOPTS="-j1" emake all
+ CC=$(tc-getCC) LD=$(tc-getCC) MAKEOPTS="-j1" PREFIX=/usr emake all
}
src_install() {
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-06 12:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-10 15:02 [gentoo-commits] dev/ultrabug:master commit in: dev-libs/libaerospike/ Alexys Jacob
-- strict thread matches above, loose matches on Subject: below --
2015-04-20 10:52 Alexys Jacob
2015-08-06 12:23 Alexys Jacob
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox