mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-misc/flashdot: Move use() call to local scope
bump EAPI to 5 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=566554 Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
@@ -1,34 +1,33 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=2
|
||||
EAPI=5
|
||||
|
||||
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"
|
||||
SRC_URI="
|
||||
mirror://gentoo/${P}.tar.bz2
|
||||
https://dev.gentoo.org/~tomka/files/${P}.tar.bz2"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
DEPEND=">=dev-lang/ocaml-3.10[ocamlopt?]
|
||||
DEPEND="
|
||||
>=dev-lang/ocaml-3.10[ocamlopt?]
|
||||
dev-ml/ocamlsdl
|
||||
dev-ml/ocamlgsl
|
||||
dev-ml/lablgl[glut]
|
||||
x11-apps/xdpyinfo"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
MAKEOPTS="-j1 VERSION=${PV}"
|
||||
use ocamlopt || MAKEOPTS="${MAKEOPTS} TARGETS=flashdot_bytecode BYTECODENAME=flashdot"
|
||||
|
||||
src_compile() {
|
||||
emake ${MAKEOPTS} || die "emake failed"
|
||||
src_prepare() {
|
||||
MAKEOPTS+=" -j1 VERSION=${PV}"
|
||||
use ocamlopt || MAKEOPTS+=" TARGETS=flashdot_bytecode BYTECODENAME=flashdot"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake ${MAKEOPTS} DESTDIR="${D}" CALLMODE=script install || die "install failed"
|
||||
emake DESTDIR="${D}" CALLMODE=script install
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>tomka@gentoo.org</email>
|
||||
<name>Thomas Kahle</name>
|
||||
</maintainer>
|
||||
<herd>sci</herd>
|
||||
<longdescription lang="en">
|
||||
<maintainer>
|
||||
<email>tomka@gentoo.org</email>
|
||||
<name>Thomas Kahle</name>
|
||||
</maintainer>
|
||||
<herd>sci</herd>
|
||||
<longdescription lang="en">
|
||||
FlashDot is a program for generating and presenting visual perceptual experiments that require a high temporal
|
||||
precision.
|
||||
</longdescription>
|
||||
|
||||
Reference in New Issue
Block a user