forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rdedup-1.0.2.ebuild
64 lines (58 loc) · 1.12 KB
/
rdedup-1.0.2.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CRATES="
aho-corasick-0.5.3
argparse-0.2.1
env_logger-0.3.5
flate2-0.2.17
fs2-0.2.5
gcc-0.3.43
kernel32-sys-0.2.2
libc-0.2.20
libsodium-sys-0.0.12
log-0.3.6
memchr-0.1.11
miniz-sys-0.1.9
pkg-config-0.3.9
rand-0.3.15
rdedup-lib-1.0.2
regex-0.1.80
regex-syntax-0.3.9
rollsum-0.2.1
rpassword-0.2.3
rust-crypto-0.2.36
rustc-serialize-0.3.22
serde-0.7.15
sodiumoxide-0.0.12
termios-0.2.2
thread-id-2.0.0
thread_local-0.2.7
time-0.1.36
utf8-ranges-0.1.3
winapi-0.2.8
winapi-build-0.1.1
rdedup-1.0.2
rdedup-lib-1.0.2
redox_syscall-0.1.16
"
inherit cargo
DESCRIPTION="data deduplication with compression and public key encryption"
HOMEPAGE="https://github.com/dpc/rdedup"
SRC_URI="$(cargo_crate_uris ${CRATES})"
RESTRICT=""
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="${DEPEND} >=dev-libs/libsodium-1.0.11"
RDEPEND="${DEPEND}"
DOCS=( README.md CHANGELOG.md )
src_prepare() {
default_src_prepare
ln -sf "${WORKDIR}/cargo_home/gentoo/rdedup-lib-${PV}" "${S}/lib"
}
src_install() {
cargo_src_install
einstalldocs
}