summaryrefslogtreecommitdiff
path: root/app-doc/geant-docs/geant-docs-4.10.03.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-doc/geant-docs/geant-docs-4.10.03.ebuild
reinit the tree, so we can have metadata
Diffstat (limited to 'app-doc/geant-docs/geant-docs-4.10.03.ebuild')
-rw-r--r--app-doc/geant-docs/geant-docs-4.10.03.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/app-doc/geant-docs/geant-docs-4.10.03.ebuild b/app-doc/geant-docs/geant-docs-4.10.03.ebuild
new file mode 100644
index 000000000000..8cd4376007a4
--- /dev/null
+++ b/app-doc/geant-docs/geant-docs-4.10.03.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="User documentation for Geant4 physics simulation toolkit"
+HOMEPAGE="https://geant4.web.cern.ch/geant4/support/userdocuments.shtml"
+SRC_DOC="http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides"
+SRC_URI="
+ ${SRC_DOC}/InstallationGuide/fo/BookInstalGuide.pdf -> BookInstalGuide-${PV}.pdf
+ ${SRC_DOC}/ForApplicationDeveloper/fo/BookForAppliDev.pdf -> BookForAppliDev-${PV}.pdf
+ ${SRC_DOC}/ForToolkitDeveloper/fo/BookForToolDev.pdf -> BookForToolDev-${PV}.pdf
+ ${SRC_DOC}/PhysicsReferenceManual/fo/PhysicsReferenceManual.pdf -> PhysicsReferenceManual-${PV}.pdf
+"
+
+LICENSE="geant4"
+SLOT="4"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+S="${DISTDIR}"
+
+src_install() {
+ local d
+ for d in *pdf; do newdoc ${d} ${d/-${PV}}; done
+ echo GEANT_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" >> 99geant-doc || die
+ doenvd 99geant-doc
+}