diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ml/gd4o | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ml/gd4o')
-rw-r--r-- | dev-ml/gd4o/Manifest | 3 | ||||
-rw-r--r-- | dev-ml/gd4o/gd4o-1.0_alpha5.ebuild | 54 | ||||
-rw-r--r-- | dev-ml/gd4o/metadata.xml | 11 |
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-ml/gd4o/Manifest b/dev-ml/gd4o/Manifest new file mode 100644 index 000000000000..196201369862 --- /dev/null +++ b/dev-ml/gd4o/Manifest @@ -0,0 +1,3 @@ +DIST gd4o-1.0a5.tar.gz 885735 BLAKE2B e66a9de762bd6e0cce97fc47645edc7d91b6d01b3d7aad16bb7dcc9eae5604c134b14ddccacb11d83ec651676a9992340d032d63b5953940decd0abf6efaf72c SHA512 f582ff5dc4ece692b779c78ea97d1df90768564ab172a3933196bc0d9eedf31a53ca01c4745d7eacc81f977611b509dd2f912fac08b1bf0f70ec03605a40a85b +EBUILD gd4o-1.0_alpha5.ebuild 991 BLAKE2B 63f8093b9ea80dbd7ee4a1bf2019782a962e32b590c10381d6a2f81f7b5f74482f2278c0d6f2a57b5c2963e34770fb6b788740f4bf246fdad86f66c0ede72ad8 SHA512 46e1217615dd67b2fa82e9707130a926d11bb3a793a89ce1ed6b488b28a870d895aee4287d42d6b8692a91efd52619fd4b70012d9b945171b17acbf01d7d4bf3 +MISC metadata.xml 321 BLAKE2B 4690a05a059e16e969f27cc6b5b57c79034e814e868f1874ceecaf23ad7bb5749452fbc0ea84c9afdda7e360cc4c1dbdcb6cee50b66c4f7c094683d6bc5e58e9 SHA512 7f6775dbcec3f1a9d91f3f02269581b4e7c1bea731a7a6974d79c5262d8af1d106e07ad0e50c9237853a4fe6b2e4bf0af030893a316558abce60d6a3ba210834 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> |