diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-08-08 08:23:53 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-08-08 08:23:53 +0000 |
commit | ac7b14d2d5c63263ddf257c7c392d5ed767f699d (patch) | |
tree | 92042a2238ffb3a968624bdd5106518de525c33a /dev-ml/gd4o | |
parent | Version bump. (diff) | |
download | historical-ac7b14d2d5c63263ddf257c7c392d5ed767f699d.tar.gz historical-ac7b14d2d5c63263ddf257c7c392d5ed767f699d.tar.bz2 historical-ac7b14d2d5c63263ddf257c7c392d5ed767f699d.zip |
Initial import, ebuild by me
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-ml/gd4o')
-rw-r--r-- | dev-ml/gd4o/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ml/gd4o/Manifest | 14 | ||||
-rw-r--r-- | dev-ml/gd4o/gd4o-1.0_alpha5.ebuild | 55 | ||||
-rw-r--r-- | dev-ml/gd4o/metadata.xml | 5 |
4 files changed, 84 insertions, 0 deletions
diff --git a/dev-ml/gd4o/ChangeLog b/dev-ml/gd4o/ChangeLog new file mode 100644 index 000000000000..a472573511c1 --- /dev/null +++ b/dev-ml/gd4o/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ml/gd4o +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/gd4o/ChangeLog,v 1.1 2010/08/08 08:23:53 aballier Exp $ + +*gd4o-1.0_alpha5 (08 Aug 2010) + + 08 Aug 2010; Alexis Ballier <aballier@gentoo.org> +gd4o-1.0_alpha5.ebuild, + +metadata.xml: + Initial import, ebuild by me + diff --git a/dev-ml/gd4o/Manifest b/dev-ml/gd4o/Manifest new file mode 100644 index 000000000000..c4789ee17cf3 --- /dev/null +++ b/dev-ml/gd4o/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST gd4o-1.0a5.tar.gz 885735 RMD160 8e84c47f248d29c3f6d39a0d3399f987cbd54214 SHA1 9e673cb302abc193e25ec29faacaa450d0e9dc94 SHA256 fa10b60a785e6734b6ac1b5a762f496b925502cfc848381cae7dfb75fe547eed +EBUILD gd4o-1.0_alpha5.ebuild 1116 RMD160 13ef0f7a8c3cb7557acb536a33dffc13076625e0 SHA1 7cf90a345a8c0f5f130915a6c25fc6082955fe23 SHA256 409bba617dccb416e976b0d9dc8fb23fc869a644de08ce1d9dada4f29d6ecd08 +MISC ChangeLog 355 RMD160 00d1ea5e210e6380f9ed2953ee43552f0a630fb0 SHA1 9438102f524cd4d9eb549329dc8ca274a78fb5de SHA256 a1b3f0022ab3ad3e700a38f3abde112e2e9b7b3ce4e54d8b848a99bf861fc104 +MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iEYEARECAAYFAkxeaZ8ACgkQvFcC4BYPU0osQwCgoTefc3QQvIhKe8AzMpp0/5e8 +U74AoMTrcUCktedsHbKX0ACDN9zPqhS5 +=UQaL +-----END PGP SIGNATURE----- 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..3b23e72fc96d --- /dev/null +++ b/dev-ml/gd4o/gd4o-1.0_alpha5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/gd4o/gd4o-1.0_alpha5.ebuild,v 1.1 2010/08/08 08:23:53 aballier Exp $ + +EAPI=3 + +inherit toolchain-funcs findlib + +MY_P="${P/_alpha/a}" + +DESCRIPTION="OCaml interface to the GD graphics library" +HOMEPAGE="http://sourceforge.net/projects/gd4o/" +SRC_URI="mirror://sourceforge/gd4o/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc +ocamlopt" + +DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?] + media-libs/gd + media-libs/jpeg + sys-libs/zlib + media-libs/libpng + 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)" || die + if use ocamlopt ; then + emake CC="$(tc-getCC)" opt || die + fi + if use doc ; then + emake docs || die + fi +} + +src_test() { + emake test || die + if use ocamlopt ; then + emake test.opt || die + 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..2193d772e351 --- /dev/null +++ b/dev-ml/gd4o/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ml</herd> +</pkgmetadata> |