1 |
commit: c45a7b7ab3469fbd9df024fd8dc790d612f2d00c |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 24 19:51:07 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 24 19:51:07 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c45a7b7a |
7 |
|
8 |
sci-libs/iRODS: bump to 4.2.11 |
9 |
|
10 |
Finally the configure phase passes |
11 |
|
12 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
13 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
14 |
|
15 |
sci-libs/iRODS/iRODS-4.2.11.ebuild | 76 ++++++++++++++++++++++++++++++++++++++ |
16 |
sci-libs/iRODS/iRODS-4.2.8.ebuild | 20 ---------- |
17 |
2 files changed, 76 insertions(+), 20 deletions(-) |
18 |
|
19 |
diff --git a/sci-libs/iRODS/iRODS-4.2.11.ebuild b/sci-libs/iRODS/iRODS-4.2.11.ebuild |
20 |
new file mode 100644 |
21 |
index 000000000..849a7c509 |
22 |
--- /dev/null |
23 |
+++ b/sci-libs/iRODS/iRODS-4.2.11.ebuild |
24 |
@@ -0,0 +1,76 @@ |
25 |
+# Copyright 1999-2022 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=7 |
29 |
+ |
30 |
+inherit cmake llvm |
31 |
+ |
32 |
+MESSAGING_COMMIT="24c73702c88e94c3b159dac97fe7a0640dfc209d" |
33 |
+ |
34 |
+DESCRIPTION="Integrated Rule Oriented Data System, a data management software" |
35 |
+HOMEPAGE="https://irods.org" |
36 |
+SRC_URI=" |
37 |
+ https://github.com/irods/irods/archive/${PV}.tar.gz -> ${P}.tar.gz |
38 |
+ https://github.com/irods/irods_schema_messaging/archive/${MESSAGING_COMMIT}.tar.gz -> ${P}_schema_messaging.tar.gz |
39 |
+" |
40 |
+S="${WORKDIR}/irods-${PV}" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+# need the c++ version of avro |
45 |
+KEYWORDS="" |
46 |
+ |
47 |
+DEPEND=" |
48 |
+ app-arch/libarchive |
49 |
+ dev-cpp/catch:0 |
50 |
+ dev-libs/avro-c |
51 |
+ dev-libs/boost:= |
52 |
+ dev-libs/jansson |
53 |
+ dev-libs/json-c |
54 |
+ dev-libs/libfmt |
55 |
+ dev-libs/openssl |
56 |
+ dev-libs/spdlog |
57 |
+ sys-libs/libcxx |
58 |
+ sys-libs/pam |
59 |
+ net-libs/cppzmq |
60 |
+ net-libs/zeromq |
61 |
+" |
62 |
+RDEPEND="${DEPEND}" |
63 |
+BDEPEND=" |
64 |
+ sys-devel/clang |
65 |
+" |
66 |
+ |
67 |
+src_unpack() { |
68 |
+ default |
69 |
+ mv "${WORKDIR}/irods_schema_messaging-${MESSAGING_COMMIT}/v1" "${S}/irods_schema_messaging/" || die |
70 |
+} |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ cmake_src_prepare |
74 |
+ # use the correct lib dir |
75 |
+ find . -name "CMakeLists.txt" -exec sed -i \ |
76 |
+ -e '/${IRODS_EXTERNALS_FULLPATH_.*}/s/\/lib\//\/lib64\//g' \ |
77 |
+ {} + || die |
78 |
+} |
79 |
+ |
80 |
+src_configure() { |
81 |
+ local mycmakeargs=( |
82 |
+ -DIRODS_EXTERNALS_FULLPATH_CLANG="$(get_llvm_prefix)" |
83 |
+ -DIRODS_EXTERNALS_FULLPATH_CLANG_RUNTIME="$(get_llvm_prefix)" |
84 |
+ -DIRODS_EXTERNALS_FULLPATH_ARCHIVE="${EPREFIX}/usr" |
85 |
+ -DIRODS_EXTERNALS_FULLPATH_AVRO="${EPREFIX}/usr" |
86 |
+ -DIRODS_EXTERNALS_FULLPATH_BOOST="${EPREFIX}/usr" |
87 |
+ -DIRODS_EXTERNALS_FULLPATH_CATCH2="${EPREFIX}/usr" |
88 |
+ -DIRODS_EXTERNALS_FULLPATH_FMT="${EPREFIX}/usr" |
89 |
+ -DIRODS_EXTERNALS_FULLPATH_ZMQ="${EPREFIX}/usr" |
90 |
+ -DIRODS_EXTERNALS_FULLPATH_JANSSON="${EPREFIX}/usr" |
91 |
+ -DIRODS_EXTERNALS_FULLPATH_SPDLOG="${EPREFIX}/usr" |
92 |
+ -DIRODS_EXTERNALS_FULLPATH_CPPZMQ="${EPREFIX}/usr" |
93 |
+ -DIRODS_EXTERNALS_FULLPATH_JSON="${EPREFIX}/usr" |
94 |
+ -DIRODS_EXTERNALS_FULLPATH_NANODBC="${EPREFIX}/usr" |
95 |
+ # pretend we are Arch, otherwise fatal error |
96 |
+ -DIRODS_LINUX_DISTRIBUTION_NAME="arch" |
97 |
+ -DIRODS_LINUX_DISTRIBUTION_VERSION_MAJOR="1" |
98 |
+ ) |
99 |
+ cmake_src_configure |
100 |
+} |
101 |
|
102 |
diff --git a/sci-libs/iRODS/iRODS-4.2.8.ebuild b/sci-libs/iRODS/iRODS-4.2.8.ebuild |
103 |
deleted file mode 100644 |
104 |
index eba0c76e2..000000000 |
105 |
--- a/sci-libs/iRODS/iRODS-4.2.8.ebuild |
106 |
+++ /dev/null |
107 |
@@ -1,20 +0,0 @@ |
108 |
-# Copyright 1999-2021 Gentoo Authors |
109 |
-# Distributed under the terms of the GNU General Public License v2 |
110 |
- |
111 |
-EAPI=7 |
112 |
- |
113 |
-inherit cmake |
114 |
- |
115 |
-DESCRIPTION="Integrated Rule Oriented Data System, a data management software" |
116 |
-HOMEPAGE="https://irods.org" |
117 |
-SRC_URI="https://github.com/irods/irods/archive/${PV}.tar.gz -> ${P}.tar.gz" |
118 |
- |
119 |
-LICENSE="BSD" |
120 |
-SLOT="0" |
121 |
-KEYWORDS="" |
122 |
- |
123 |
-DEPEND="" |
124 |
-RDEPEND="${DEPEND}" |
125 |
-BDEPEND="sys-devel/clang" |
126 |
- |
127 |
-S="${WORKDIR}/irods-${PV}" |