1 |
commit: f8d4c4cc654ddb4162b7b2287ad2f07693937268 |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 6 16:21:19 2020 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 6 16:25:11 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8d4c4cc |
7 |
|
8 |
dev-libs/libclsync: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.82, Repoman-2.3.20 |
11 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libclsync/libclsync-0.4.4.ebuild | 73 ------------------------------- |
14 |
1 file changed, 73 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/libclsync/libclsync-0.4.4.ebuild b/dev-libs/libclsync/libclsync-0.4.4.ebuild |
17 |
deleted file mode 100644 |
18 |
index d3507cdd0db..00000000000 |
19 |
--- a/dev-libs/libclsync/libclsync-0.4.4.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,73 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-MY_PN=${PN#lib} |
28 |
-MY_P="${MY_PN}-${PV}" |
29 |
- |
30 |
-inherit autotools |
31 |
- |
32 |
-DESCRIPTION="Control and monitoring library for clsync" |
33 |
-HOMEPAGE="http://ut.mephi.ru/oss/clsync https://github.com/clsync/clsync" |
34 |
-SRC_URI="https://github.com/clsync/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" |
35 |
-LICENSE="GPL-3+" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="~amd64 ~x86" |
38 |
-IUSE="debug extra-debug extra-hardened hardened static-libs" |
39 |
-S="${WORKDIR}/${MY_P}" |
40 |
- |
41 |
-REQUIRED_USE=" |
42 |
- extra-debug? ( debug ) |
43 |
- extra-hardened? ( hardened ) |
44 |
-" |
45 |
- |
46 |
-BDEPEND="virtual/pkgconfig" |
47 |
-RDEPEND="=app-doc/clsync-docs-0.4*" |
48 |
- |
49 |
-src_prepare() { |
50 |
- eapply_user |
51 |
- eautoreconf |
52 |
-} |
53 |
- |
54 |
-src_configure() { |
55 |
- local harden_level=0 |
56 |
- use hardened && harden_level=1 |
57 |
- use extra-hardened && harden_level=2 |
58 |
- |
59 |
- local debug_level=0 |
60 |
- use debug && debug_level=1 |
61 |
- use extra-debug && debug_level=2 |
62 |
- |
63 |
- econf \ |
64 |
- --enable-socket-library \ |
65 |
- --disable-clsync \ |
66 |
- --enable-debug=${debug_level} \ |
67 |
- --enable-paranoid=${harden_level} \ |
68 |
- --without-bsm \ |
69 |
- --without-kqueue \ |
70 |
- --disable-capabilities \ |
71 |
- --disable-cluster \ |
72 |
- --enable-socket \ |
73 |
- --disable-highload-locks \ |
74 |
- --disable-unshare \ |
75 |
- --disable-seccomp \ |
76 |
- --without-libcgroup \ |
77 |
- --without-gio \ |
78 |
- --with-inotify=native \ |
79 |
- --without-mhash |
80 |
-} |
81 |
- |
82 |
-src_install() { |
83 |
- emake DESTDIR="${D}" install |
84 |
- find "${ED}" -name "*.la" -delete |
85 |
- use static-libs || find "${ED}" -name "*.a" -delete || die "failed to remove static libs" |
86 |
- |
87 |
- # docs go into clsync-docs |
88 |
- rm -rf "${ED}/usr/share/doc" || die |
89 |
-} |
90 |
- |
91 |
-pkg_postinst() { |
92 |
- einfo "clsync instances you are going to use _must_ be compiled" |
93 |
- einfo "with control-socket support" |
94 |
-} |