summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-erlang')
-rw-r--r--dev-erlang/eimp/Manifest1
-rw-r--r--dev-erlang/eimp/eimp-1.0.8.ebuild32
-rw-r--r--dev-erlang/eimp/metadata.xml11
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-erlang/eimp/Manifest b/dev-erlang/eimp/Manifest
new file mode 100644
index 000000000000..043d3ec69c6d
--- /dev/null
+++ b/dev-erlang/eimp/Manifest
@@ -0,0 +1 @@
+DIST eimp-1.0.8.tar.gz 3471332 BLAKE2B 0ad9b2201952bd3fa80031cb31014f43b616e43fca49ce2d2aee0d5a3fa5fbec57fe1f1a7d105908039d8b32e0fb4217664dc6097e8eee06782c187f140a2fe1 SHA512 ec3eec70690aaec063c58d67783e40de330fc4045514b8e5d5ba223f78da95041c809808751cac91ad0fb2f4d98d37d316d25b29ebb562e129d0652324f2ae51
diff --git a/dev-erlang/eimp/eimp-1.0.8.ebuild b/dev-erlang/eimp/eimp-1.0.8.ebuild
new file mode 100644
index 000000000000..2a1f64992af5
--- /dev/null
+++ b/dev-erlang/eimp/eimp-1.0.8.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit rebar
+
+DESCRIPTION="Erlang Image Manipulation Process"
+HOMEPAGE="https://github.com/processone/eimp"
+SRC_URI="https://github.com/processone/eimp/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-erlang/p1_utils-1.0.13
+ >=dev-lang/erlang-17.1
+ media-libs/gd[png,jpeg,webp]"
+DEPEND="${RDEPEND}"
+
+DOCS=( README.md LICENSE.txt )
+
+src_prepare() {
+ rebar_src_prepare
+
+ # FIXME: The test fails when run from ebuild for some reason. I don't
+ # FIXME: Erlang and I don't know how to fix it other than by disabling
+ # FIXME: test.
+ sed -e '/^disconnected_test() ->/,/^$/ d' -i 'test/eimp_test.erl' || die
+}
diff --git a/dev-erlang/eimp/metadata.xml b/dev-erlang/eimp/metadata.xml
new file mode 100644
index 000000000000..960ada0d29c5
--- /dev/null
+++ b/dev-erlang/eimp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>aidecoe@gentoo.org</email>
+ <name>Amadeusz Żołnowski</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">processone/eimp</remote-id>
+ </upstream>
+</pkgmetadata>