diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-misc/flashdot/flashdot-1.1.4-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-misc/flashdot/flashdot-1.1.4-r1.ebuild')
-rw-r--r-- | sci-misc/flashdot/flashdot-1.1.4-r1.ebuild | 35 |
1 files changed, 35 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..97b4fd7fac5b --- /dev/null +++ b/sci-misc/flashdot/flashdot-1.1.4-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |