1 |
commit: 561a65e2d33d4fe377b25d98c7f9bf1eb3616790 |
2 |
Author: Andrii Pravorskyi <pravorskyi <AT> meta <DOT> ua> |
3 |
AuthorDate: Sun Jun 5 00:58:22 2022 +0000 |
4 |
Commit: Andrii Pravorskyi <pravorskyi <AT> meta <DOT> ua> |
5 |
CommitDate: Sun Jun 5 00:58:22 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=561a65e2 |
7 |
|
8 |
dev-cpp/libcutl: new package |
9 |
|
10 |
Signed-off-by: Andrii Pravorskyi <pravorskyi <AT> meta.ua> |
11 |
|
12 |
dev-cpp/libcutl/Manifest | 1 + |
13 |
dev-cpp/libcutl/libcutl-1.11.0_beta9.ebuild | 61 +++++++++++++++++++++++++++++ |
14 |
dev-cpp/libcutl/metadata.xml | 10 +++++ |
15 |
3 files changed, 72 insertions(+) |
16 |
|
17 |
diff --git a/dev-cpp/libcutl/Manifest b/dev-cpp/libcutl/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..948b8f646 |
20 |
--- /dev/null |
21 |
+++ b/dev-cpp/libcutl/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST libcutl-1.11.0-b.9.tar.gz 35388 BLAKE2B 241db59fce05d8b9d425342f04727d016893f8253914f55d68730409dc3208c6f94bf261fd1a610ad06d0c75381864b7ec3424a40c2b4d0466d58aa7bd180dad SHA512 2949518a8f0d71cef5325957df96eb36193f11f1fc0da070a93c6159966efcc79183b96a57a1b25e98296a967883c3012ac3a659046d41abe43e654c64339d84 |
24 |
|
25 |
diff --git a/dev-cpp/libcutl/libcutl-1.11.0_beta9.ebuild b/dev-cpp/libcutl/libcutl-1.11.0_beta9.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..1e6bdc845 |
28 |
--- /dev/null |
29 |
+++ b/dev-cpp/libcutl/libcutl-1.11.0_beta9.ebuild |
30 |
@@ -0,0 +1,61 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+MY_P="${PN}-$(ver_cut 1-3)-b.$(ver_cut 5)" |
37 |
+ |
38 |
+inherit multiprocessing |
39 |
+ |
40 |
+SRC_URI="https://pkg.cppget.org/1/beta/${PN}/${MY_P}.tar.gz" |
41 |
+KEYWORDS='~amd64 ~x86' |
42 |
+DESCRIPTION='C++ utility library' |
43 |
+HOMEPAGE='https://www.codesynthesis.com/projects/libstudxml/' |
44 |
+LICENSE='MIT' |
45 |
+ |
46 |
+SLOT='0' |
47 |
+IUSE='test' |
48 |
+RESTRICT='!test? ( test )' |
49 |
+ |
50 |
+BDEPEND='dev-util/build2' |
51 |
+ |
52 |
+S="${WORKDIR}/${MY_P}" |
53 |
+ |
54 |
+src_configure() { |
55 |
+ b configure \ |
56 |
+ config.cc.coptions="${CFLAGS}" \ |
57 |
+ config.cc.loptions="${LDFLAGS}" \ |
58 |
+ config.cxx.coptions="${CXXFLAGS}" \ |
59 |
+ config.cxx.loptions="${LDFLAGS}" \ |
60 |
+ --jobs $(makeopts_jobs) \ |
61 |
+ --no-progress \ |
62 |
+ --verbose 2 |
63 |
+} |
64 |
+ |
65 |
+src_compile() { |
66 |
+ b update-for-install \ |
67 |
+ config.install.root="${EPREFIX}"/usr \ |
68 |
+ --jobs $(makeopts_jobs) \ |
69 |
+ --no-progress \ |
70 |
+ --verbose 2 |
71 |
+ use test && b update-for-test \ |
72 |
+ --jobs $(makeopts_jobs) \ |
73 |
+ --no-progress \ |
74 |
+ --verbose 2 |
75 |
+} |
76 |
+ |
77 |
+src_test() { |
78 |
+ b test \ |
79 |
+ --jobs $(makeopts_jobs) \ |
80 |
+ --no-progress \ |
81 |
+ --verbose 2 |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ b install \ |
86 |
+ config.install.chroot="${D}" \ |
87 |
+ config.install.root="${EPREFIX}"/usr \ |
88 |
+ config.install.lib="${EPREFIX}"/usr/$(get_libdir) \ |
89 |
+ config.install.doc="${EPREFIX}"/usr/share/doc/${PF} \ |
90 |
+ --no-progress |
91 |
+} |
92 |
|
93 |
diff --git a/dev-cpp/libcutl/metadata.xml b/dev-cpp/libcutl/metadata.xml |
94 |
new file mode 100644 |
95 |
index 000000000..0d9c85300 |
96 |
--- /dev/null |
97 |
+++ b/dev-cpp/libcutl/metadata.xml |
98 |
@@ -0,0 +1,10 @@ |
99 |
+<?xml version="1.0" encoding="UTF-8"?> |
100 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
101 |
+<pkgmetadata> |
102 |
+ <longdescription lang="en"> |
103 |
+ libcutl is a C++ utility library. It contains a collection of |
104 |
+ generic and independent components such as meta-programming |
105 |
+ tests, smart pointers, containers, compiler building blocks, |
106 |
+ etc. |
107 |
+ </longdescription> |
108 |
+</pkgmetadata> |