1 |
commit: 9b33692ee4ef7200b8fc8aac14997859677f184b |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 12 10:18:48 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 12 10:18:48 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b33692e |
7 |
|
8 |
sys-fs/lessfs: Fix deps and homepage |
9 |
|
10 |
Closes: https://bugs.gentoo.org/671806 |
11 |
Closes: https://bugs.gentoo.org/673648 |
12 |
Package-Manager: Portage-2.3.53, Repoman-2.3.12 |
13 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
14 |
|
15 |
sys-fs/lessfs/lessfs-1.7.0-r1.ebuild | 55 ++++++++++++++++++++++++++++++++++++ |
16 |
1 file changed, 55 insertions(+) |
17 |
|
18 |
diff --git a/sys-fs/lessfs/lessfs-1.7.0-r1.ebuild b/sys-fs/lessfs/lessfs-1.7.0-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..f0b3e0a95f0 |
21 |
--- /dev/null |
22 |
+++ b/sys-fs/lessfs/lessfs-1.7.0-r1.ebuild |
23 |
@@ -0,0 +1,55 @@ |
24 |
+# Copyright 1999-2019 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+inherit readme.gentoo-r1 |
29 |
+ |
30 |
+MY_PV="${PV/_/-}" |
31 |
+MY_P="${PN}-${MY_PV}" |
32 |
+ |
33 |
+DESCRIPTION="A high performance inline data deduplicating filesystem" |
34 |
+HOMEPAGE="https://sourceforge.net/projects/lessfs/" |
35 |
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${MY_P}/${MY_P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="GPL-3" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+IUSE="berkdb crypt debug filelog memtrace lzo snappy" |
41 |
+ |
42 |
+RDEPEND=" |
43 |
+ berkdb? ( sys-libs/db:* ) |
44 |
+ crypt? ( dev-libs/openssl:0= ) |
45 |
+ lzo? ( dev-libs/lzo ) |
46 |
+ snappy? ( app-arch/snappy ) |
47 |
+ >=dev-db/tokyocabinet-1.4.42 |
48 |
+ app-crypt/mhash |
49 |
+ >=sys-fs/fuse-2.8.0:0= |
50 |
+" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+ |
53 |
+S="${WORKDIR}/${MY_P}" |
54 |
+ |
55 |
+DOC_CONTENTS="Default configuration file: /etc/${PN}.cfg. |
56 |
+ If your host is a client consult the following configuration |
57 |
+ file: /usr/share/doc/${PF}/${PN}.cfg-slave.*" |
58 |
+ |
59 |
+src_configure() { |
60 |
+ econf \ |
61 |
+ $(use_enable debug) $(use_enable debug lckdebug) \ |
62 |
+ $(use_enable filelog) $(use_with crypt crypto) \ |
63 |
+ $(use_with lzo) $(use_enable memtrace) \ |
64 |
+ $(use_with berkdb berkeleydb) \ |
65 |
+ $(use_with snappy) |
66 |
+} |
67 |
+ |
68 |
+src_install () { |
69 |
+ default |
70 |
+ insinto /etc |
71 |
+ newins examples/lessfs.cfg-master ${PN}.cfg |
72 |
+ dodoc examples/lessfs.* etc/lessfs.* |
73 |
+ readme.gentoo_create_doc |
74 |
+} |
75 |
+ |
76 |
+pkg_postinst() { |
77 |
+ readme.gentoo_print_elog |
78 |
+} |