Diff resilio-sync-2.7.3.1381 with a resilio-sync-9999
/usr/portage/net-p2p/resilio-sync/resilio-sync-9999.ebuild 2023-10-09 14:52:34.740368482 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit pax-utils readme.gentoo-r1 systemd tmpfiles unpacker |
|
6 |
inherit pax-utils readme.gentoo-r1 systemd tmpfiles |
|
7 | 7 | |
8 | 8 |
QA_PREBUILT="usr/bin/rslsync" |
9 |
BASE_URI="https://download-cdn.resilio.com/${PV}/Debian/${PN}_${PV}-1_@arch@.deb" |
|
9 |
BASE_URI="https://download-cdn.resilio.com/stable/linux-@arch@/${PN}_@arch@.tar.gz" |
|
10 | 10 | |
11 | 11 |
DESCRIPTION="Resilient, fast and scalable file synchronization tool" |
12 | 12 |
HOMEPAGE="https://www.resilio.com" |
13 |
SRC_URI="amd64? ( ${BASE_URI/@arch@/amd64} ) |
|
14 |
arm? ( ${BASE_URI/@arch@/armhf} ) |
|
15 |
arm64? ( ${BASE_URI/@arch@/arm64} ) |
|
16 |
x86? ( ${BASE_URI/@arch@/i386} )" |
|
13 |
SRC_URI="amd64? ( ${BASE_URI//@arch@/x64} ) |
|
14 |
arm? ( ${BASE_URI//@arch@/armhf} ) |
|
15 |
arm64? ( ${BASE_URI//@arch@/arm64} ) |
|
16 |
x86? ( ${BASE_URI//@arch@/i386} )" |
|
17 | 17 | |
18 | 18 |
LICENSE="all-rights-reserved" |
19 | 19 |
SLOT="0" |
... | ... | |
32 | 32 |
Default metadata path is /var/lib/resilio-sync/.sync\\n |
33 | 33 |
Default web-gui URL is http://localhost:8888/\\n\\n" |
34 | 34 | |
35 |
src_unpack() { |
|
36 |
unpacker_src_unpack |
|
37 | ||
38 |
unpack usr/share/man/man1/resilio-sync.1.gz |
|
39 |
} |
|
40 | ||
41 | 35 |
src_install() { |
42 |
dobin usr/bin/rslsync |
|
36 |
dobin rslsync |
|
43 | 37 |
pax-mark m "${ED}"/usr/bin/rslsync |
44 | 38 | |
45 |
doman resilio-sync.1 |
|
46 | ||
47 | 39 |
newinitd "${FILESDIR}"/resilio-sync.initd resilio-sync |
48 | 40 |
newconfd "${FILESDIR}"/resilio-sync.confd resilio-sync |
49 | 41 |
newinitd "${FILESDIR}"/resilio-sync-user.initd resilio-sync-user |