diff options
author | David Seifert <soap@gentoo.org> | 2016-02-14 23:46:03 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-02-14 23:46:03 +0100 |
commit | 805ce1ec2987ad6da051f98368c94a39b7164fe0 (patch) | |
tree | e20ef046bd3a1e6f3d111dc03f4a16658ad4f4d6 /sci-misc/flashdot/flashdot-1.1.4-r1.ebuild | |
parent | sci-calculators/orpie: Drop KEYWORDS until dev-ml/gsl-ocaml is keyworded (diff) | |
download | gentoo-805ce1ec2987ad6da051f98368c94a39b7164fe0.tar.gz gentoo-805ce1ec2987ad6da051f98368c94a39b7164fe0.tar.bz2 gentoo-805ce1ec2987ad6da051f98368c94a39b7164fe0.zip |
sci-misc/flashdot: Port to dev-ml/gsl-ocaml
Gentoo-Bug: 574564
Package-Manager: portage-2.2.27
Diffstat (limited to 'sci-misc/flashdot/flashdot-1.1.4-r1.ebuild')
-rw-r--r-- | sci-misc/flashdot/flashdot-1.1.4-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sci-misc/flashdot/flashdot-1.1.4-r1.ebuild b/sci-misc/flashdot/flashdot-1.1.4-r1.ebuild new file mode 100644 index 000000000000..66f46d4ef92c --- /dev/null +++ b/sci-misc/flashdot/flashdot-1.1.4-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Generator for psychophysical experiments" +HOMEPAGE="http://www.flashdot.info/" +SRC_URI="mirror://gentoo/${P}.tar.bz2 + https://dev.gentoo.org/~tomka/files/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="+ocamlopt" + +DEPEND=" + >=dev-lang/ocaml-3.10[ocamlopt?] + dev-ml/gsl-ocaml + dev-ml/lablgl[glut] + dev-ml/ocamlsdl + x11-apps/xdpyinfo" +RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}/${P}-gsl-ocaml.patch" +) + +src_prepare() { + default + MAKEOPTS+=" -j1 VERSION=${PV}" + use ocamlopt || MAKEOPTS+=" TARGETS=flashdot_bytecode BYTECODENAME=flashdot" +} + +src_install() { + emake DESTDIR="${D}" CALLMODE=script install +} |