summaryrefslogtreecommitdiff
path: root/dev-ml/gd4o
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ml/gd4o
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ml/gd4o')
-rw-r--r--dev-ml/gd4o/Manifest5
-rw-r--r--dev-ml/gd4o/gd4o-1.0_alpha5.ebuild54
-rw-r--r--dev-ml/gd4o/metadata.xml11
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-ml/gd4o/Manifest b/dev-ml/gd4o/Manifest
new file mode 100644
index 000000000000..8d2b5d6e574f
--- /dev/null
+++ b/dev-ml/gd4o/Manifest
@@ -0,0 +1,5 @@
+DIST gd4o-1.0a5.tar.gz 885735 SHA256 fa10b60a785e6734b6ac1b5a762f496b925502cfc848381cae7dfb75fe547eed SHA512 f582ff5dc4ece692b779c78ea97d1df90768564ab172a3933196bc0d9eedf31a53ca01c4745d7eacc81f977611b509dd2f912fac08b1bf0f70ec03605a40a85b WHIRLPOOL 9b2fff948e4a832fff24c292323924a6d06380d417fbcf5bd0c5e44565409f99c5354b66f36a832b109d2b581751e480e9f79ff86fee835c9ec512c31f6044f8
+EBUILD gd4o-1.0_alpha5.ebuild 991 SHA256 7dc64529c6c056e34c08413d292fa77032dcc9ff17303f0cc86a9b39a0a07ee5 SHA512 46e1217615dd67b2fa82e9707130a926d11bb3a793a89ce1ed6b488b28a870d895aee4287d42d6b8692a91efd52619fd4b70012d9b945171b17acbf01d7d4bf3 WHIRLPOOL 47ea23947051e4d2c98f8015203ba0ed2f81ac3aa03595c68025508880da69b03dc7a3cb7835740976d6a619e96cd181c04d816abc9a0a7dd02bbf65d5cef40b
+MISC ChangeLog 2540 SHA256 bb7291e9b2afeae547d7abc1c9ac08676a775a35a376bea9db8266c951fe6362 SHA512 14ac632fa6613a5ea5180d4f9b993d8d177af91118fb54016db5a09d2575ceb43a4450deb9ab9fa11b7808a1abf73dd97e579be336609703e8032f1d80508e21 WHIRLPOOL a196819aaadb56e327778b7642de8b3917650c095f4a680c36c63b24aa035926766ab6702ddc784e75cd27c1f586b35064b2d6ddfaf952d130d0e9c5ff2d6428
+MISC ChangeLog-2015 722 SHA256 8069c197d13371da6236bb447b35d4828c7930247463b641e5870fa67d872c5d SHA512 a044667620e86a2b167a44341952490ba606452df1e85cdb9880eb22d663390e7ae29c59632256ae9c2052826c3aa290e022d7fa8010d9fc5c80a3b0950e78c4 WHIRLPOOL 42ee30fc7bc4a0cb5a8df9ab03e7ca20fa3add2ab7fdd62df1bba008b96e542cec89e19af36917b7e93cbe1a7f0ee4618b86283e1ebac01ecb0a5c00dcd3584a
+MISC metadata.xml 321 SHA256 50286a899457505bd8f982045a1a92600af11f96394e4165f70a508575ef9634 SHA512 7f6775dbcec3f1a9d91f3f02269581b4e7c1bea731a7a6974d79c5262d8af1d106e07ad0e50c9237853a4fe6b2e4bf0af030893a316558abce60d6a3ba210834 WHIRLPOOL fae373969054d23cbd686e0de9c39f600116323ccde607189527f276d7900244bd53509585fe40242653ecf8e9f0f341ab58943c02d1c7cc303b7662abfc04c4
diff --git a/dev-ml/gd4o/gd4o-1.0_alpha5.ebuild b/dev-ml/gd4o/gd4o-1.0_alpha5.ebuild
new file mode 100644
index 000000000000..2c4ae20f3100
--- /dev/null
+++ b/dev-ml/gd4o/gd4o-1.0_alpha5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs findlib
+
+MY_P="${P/_alpha/a}"
+
+DESCRIPTION="OCaml interface to the GD graphics library"
+HOMEPAGE="https://sourceforge.net/projects/gd4o/"
+SRC_URI="mirror://sourceforge/gd4o/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc +ocamlopt"
+
+DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ media-libs/gd[jpeg,png]
+ virtual/jpeg:0
+ sys-libs/zlib
+ media-libs/libpng:0=
+ media-libs/freetype:2"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed -i 's/CFLAGS =/CFLAGS += -fPIC/' Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+ if use ocamlopt ; then
+ emake CC="$(tc-getCC)" opt
+ fi
+ if use doc ; then
+ emake docs
+ fi
+}
+
+src_test() {
+ emake test
+ if use ocamlopt ; then
+ emake test.opt
+ fi
+}
+
+src_install() {
+ findlib_src_install
+ dodoc BUGS CHANGES README* TODO doc/manual.txt
+ use doc && dohtml -r doc
+}
diff --git a/dev-ml/gd4o/metadata.xml b/dev-ml/gd4o/metadata.xml
new file mode 100644
index 000000000000..253efdf99b59
--- /dev/null
+++ b/dev-ml/gd4o/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="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">gd4o</remote-id>
+ </upstream>
+</pkgmetadata>