1 |
commit: 99306e3cd2a902f90785d97154a97f960b79c9c1 |
2 |
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh> |
3 |
AuthorDate: Thu Feb 2 19:43:31 2023 +0000 |
4 |
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh> |
5 |
CommitDate: Thu Feb 2 19:44:26 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=99306e3c |
7 |
|
8 |
net-libs/libuecc: Add static-libs USE flag |
9 |
|
10 |
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh> |
11 |
|
12 |
net-libs/libuecc/libuecc-7.ebuild | 12 ++++++++---- |
13 |
1 file changed, 8 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/net-libs/libuecc/libuecc-7.ebuild b/net-libs/libuecc/libuecc-7.ebuild |
16 |
index 0baec7b98..4bd66bee6 100644 |
17 |
--- a/net-libs/libuecc/libuecc-7.ebuild |
18 |
+++ b/net-libs/libuecc/libuecc-7.ebuild |
19 |
@@ -12,7 +12,11 @@ SRC_URI="https://github.com/NeoRaider/libuecc/releases/download/v${PV}/${P}.tar. |
20 |
LICENSE="BSD-2" |
21 |
SLOT="0" |
22 |
KEYWORDS="~amd64 ~arm64" |
23 |
-RDEPEND="" |
24 |
-DEPEND="${RDEPEND}" |
25 |
-BDEPEND="" |
26 |
-IDEPEND="" |
27 |
+IUSE="static-libs" |
28 |
+ |
29 |
+src_install() { |
30 |
+ cmake_src_install |
31 |
+ if ! use static-libs; then |
32 |
+ find "${ED}" -name "*.a" -delete |
33 |
+ fi |
34 |
+} |