summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-08-03 20:20:35 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-08-03 20:20:35 +0000
commit27d3c730dd70680d5ce6f83998b7563821738ac3 (patch)
treebcbd01432438f37f34510a4af3dd50b9362b31fe /sci-libs/torch/torch-3.1.ebuild
parentPatch a buffer overflow in memcpy causing crashes with e.g. recent firefox ve... (diff)
downloadhistorical-27d3c730dd70680d5ce6f83998b7563821738ac3.tar.gz
historical-27d3c730dd70680d5ce6f83998b7563821738ac3.tar.bz2
historical-27d3c730dd70680d5ce6f83998b7563821738ac3.zip
keyword amd64-linux x86-linux
Package-Manager: portage-2.2.01.20796-prefix/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/torch/torch-3.1.ebuild')
-rw-r--r--sci-libs/torch/torch-3.1.ebuild21
1 files changed, 9 insertions, 12 deletions
diff --git a/sci-libs/torch/torch-3.1.ebuild b/sci-libs/torch/torch-3.1.ebuild
index d650dfb5a4fd..a19fe0f19542 100644
--- a/sci-libs/torch/torch-3.1.ebuild
+++ b/sci-libs/torch/torch-3.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/torch/torch-3.1.ebuild,v 1.3 2010/07/24 18:37:44 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/torch/torch-3.1.ebuild,v 1.4 2012/08/03 20:20:35 bicatali Exp $
-EAPI="3"
+EAPI=4
inherit eutils multilib toolchain-funcs
@@ -13,7 +13,7 @@ SRC_URI="http://www.torch.ch/archives/Torch${PV%.1}src.tgz
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="debug doc examples"
S=${WORKDIR}/Torch${PV%.1}
@@ -41,20 +41,17 @@ src_compile() {
}
src_install() {
- dolib lib/*/*.a || die
+ dolib.a lib/*/*.a
insinto /usr/include/torch
for directory in core ${TORCH_PACKAGES}; do
- doins ${directory}/*.h || die
+ doins ${directory}/*.h
done
if use examples; then
insinto /usr/share/doc/${PF}
- doins -r examples || die
+ doins -r examples
fi
- if use doc; then
- cd "${WORKDIR}"/docs
- doins *.pdf || die
- dohtml -r manual/. || die
- fi
+ use doc && dodoc "${WORKDIR}"/docs/*pdf \
+ && dohtml -r "${WORKDIR}"/docs/manual/*
}