* [gentoo-commits] repo/gentoo:ejabberd-wip commit in: dev-erlang/sqlite3/
@ 2016-05-01 18:50 Amadeusz Piotr Żołnowski
0 siblings, 0 replies; only message in thread
From: Amadeusz Piotr Żołnowski @ 2016-05-01 18:50 UTC (permalink / raw
To: gentoo-commits
commit: 943f26e4ef7538a96526ebd2d0432adc30419a91
Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Sun May 1 15:39:55 2016 +0000
Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Sun May 1 15:39:55 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=943f26e4
dev-erlang/sqlite3: Add new package
Package-Manager: portage-2.2.28
dev-erlang/sqlite3/Manifest | 1 +
dev-erlang/sqlite3/metadata.xml | 8 +++++
dev-erlang/sqlite3/sqlite3-1.1.4_p20151221.ebuild | 44 +++++++++++++++++++++++
3 files changed, 53 insertions(+)
diff --git a/dev-erlang/sqlite3/Manifest b/dev-erlang/sqlite3/Manifest
new file mode 100644
index 0000000..c8ebdc7
--- /dev/null
+++ b/dev-erlang/sqlite3/Manifest
@@ -0,0 +1 @@
+DIST sqlite3-1.1.4_p20151221.tar.gz 1834468 SHA256 e54052e1a75ccc23c862f5d93fb0504a5956bd6a78b937055bc2c3285edd891d SHA512 b23b184a164134de7e3512e068199873d62d2dc9c3f32e974c02354967b299c26ba6990bf17906e74b1ff85c27c840f7a4b5eaaac55041eb07ead208a8b92afa WHIRLPOOL fd19df2ba46acb2f1d54268de6340ae2adfa0b75adebc8255d03133ed940346f43d43a73d8efee1d265e1c06cd2d0e3a8d6b0a73489674d3c5fa65157b30eecd
diff --git a/dev-erlang/sqlite3/metadata.xml b/dev-erlang/sqlite3/metadata.xml
new file mode 100644
index 0000000..92f4567
--- /dev/null
+++ b/dev-erlang/sqlite3/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>aidecoe@gentoo.org</email>
+ <name>Amadeusz Żołnowski</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-erlang/sqlite3/sqlite3-1.1.4_p20151221.ebuild b/dev-erlang/sqlite3/sqlite3-1.1.4_p20151221.ebuild
new file mode 100644
index 0000000..51b16f4
--- /dev/null
+++ b/dev-erlang/sqlite3/sqlite3-1.1.4_p20151221.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib
+
+DESCRIPTION="SQLite gen_server port for Erlang"
+HOMEPAGE="https://github.com/alexeyr/erlang-sqlite3"
+SRC_URI="https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/${P}.tar.gz"
+
+LICENSE="ErlPL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND=">=dev-lang/erlang-17.1"
+DEPEND="${CDEPEND}
+ dev-util/rebar"
+RDEPEND="${CDEPEND}"
+
+get_erl_libs() {
+ echo "/usr/$(get_libdir)/erlang/lib"
+}
+
+src_prepare() {
+ # Suppress deps check.
+ cat<<EOF >>"${S}/rebar.config.script"
+lists:keystore(deps, 1, CONFIG, {deps, []}).
+EOF
+ sed -e "s/vsn, git/vsn, \"${PV%_*}\"/" \
+ -i "${S}/src/${PN}.app.src" || die
+}
+
+src_compile() {
+ export ERL_LIBS="${EPREFIX}$(get_erl_libs)"
+ rebar compile || die 'rebar compile failed'
+}
+
+src_install() {
+ insinto "$(get_erl_libs)/${P}"
+ doins -r ebin include priv src
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-01 18:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-01 18:50 [gentoo-commits] repo/gentoo:ejabberd-wip commit in: dev-erlang/sqlite3/ Amadeusz Piotr Żołnowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox