1 |
commit: 25480697060597369927ecd9794bccd55a87e5c1 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 28 18:24:05 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 28 18:24:05 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=25480697 |
7 |
|
8 |
sci-libs/calculix-ccx: Drop old |
9 |
|
10 |
GitHub: resolves gentoo-science/sci#420 |
11 |
|
12 |
Package-Manager: portage-2.2.25 |
13 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
14 |
|
15 |
sci-libs/calculix-ccx/calculix-ccx-2.7-r1.ebuild | 71 ------------------------ |
16 |
1 file changed, 71 deletions(-) |
17 |
|
18 |
diff --git a/sci-libs/calculix-ccx/calculix-ccx-2.7-r1.ebuild b/sci-libs/calculix-ccx/calculix-ccx-2.7-r1.ebuild |
19 |
deleted file mode 100644 |
20 |
index e296ebd..0000000 |
21 |
--- a/sci-libs/calculix-ccx/calculix-ccx-2.7-r1.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,71 +0,0 @@ |
24 |
-# Copyright 1999-2015 Gentoo Foundation |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Id$ |
27 |
- |
28 |
-EAPI=5 |
29 |
- |
30 |
-inherit eutils toolchain-funcs flag-o-matic |
31 |
- |
32 |
-MY_P=ccx_${PV} |
33 |
- |
34 |
-DESCRIPTION="A Free Software Three-Dimensional Structural Finite Element Program" |
35 |
-HOMEPAGE="http://www.calculix.de/" |
36 |
-SRC_URI=" |
37 |
- http://www.dhondt.de/${MY_P}.src.tar.bz2 |
38 |
- doc? ( http://www.dhondt.de/${MY_P}.ps.tar.bz2 ) |
39 |
- examples? ( http://www.dhondt.de/${MY_P}.test.tar.bz2 )" |
40 |
- |
41 |
-LICENSE="GPL-2" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="~amd64 ~x86" |
44 |
-IUSE="arpack doc examples threads" |
45 |
- |
46 |
-RDEPEND=" |
47 |
- arpack? ( >=sci-libs/arpack-3.1.3 ) |
48 |
- >=sci-libs/spooles-2.2[threads=] |
49 |
- virtual/lapack |
50 |
- virtual/blas" |
51 |
-DEPEND="${RDEPEND} |
52 |
- virtual/pkgconfig |
53 |
- doc? ( app-text/ghostscript-gpl )" |
54 |
- |
55 |
-S=${WORKDIR}/CalculiX/${MY_P}/src |
56 |
- |
57 |
-src_prepare() { |
58 |
- epatch "${FILESDIR}"/01_${MY_P}_Makefile_custom_cc_flags_spooles_arpack.patch |
59 |
- epatch "${FILESDIR}"/01_${MY_P}_lapack.patch |
60 |
-} |
61 |
- |
62 |
-src_configure() { |
63 |
- # Technically we currently only need this when arpack is not used. |
64 |
- # Keeping things this way in case we change pkgconfig for arpack |
65 |
- export LAPACK=$($(tc-getPKG_CONFIG) --libs lapack) |
66 |
- |
67 |
- append-cflags "-I/usr/include/spooles -DSPOOLES" |
68 |
- if use threads; then |
69 |
- append-cflags "-DUSE_MT" |
70 |
- fi |
71 |
- |
72 |
- if use arpack; then |
73 |
- export ARPACKLIB=$($(tc-getPKG_CONFIG) --libs arpack) |
74 |
- append-cflags "-DARPACK" |
75 |
- fi |
76 |
- export CC="$(tc-getCC)" |
77 |
- export FC="$(tc-getFC)" |
78 |
-} |
79 |
- |
80 |
-src_install () { |
81 |
- dobin ${MY_P} |
82 |
- dosym ${MY_P} /usr/bin/ccx |
83 |
- |
84 |
- if use doc; then |
85 |
- cd "${S}/../doc" || die |
86 |
- ps2pdf ${MY_P}.ps ${MY_P}.pdf |
87 |
- dodoc ${MY_P}.pdf |
88 |
- fi |
89 |
- |
90 |
- if use examples; then |
91 |
- insinto /usr/share/doc/${PF}/examples |
92 |
- doins -r "${S}"/../test/* |
93 |
- fi |
94 |
-} |