1
0
mirror of synced 2024-11-11 07:28:58 +01:00
TheChymera-overlay/net-p2p/bittorrent-sync/bittorrent-sync-1.1.82.ebuild
2015-02-11 19:40:07 +01:00

32 lines
727 B
Bash

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Automatically sync files via secure, distributed technology."
HOMEPAGE="http://labs.bittorrent.com/experiments/sync.html"
SRC_URI="
amd64? ( http://syncapp.bittorrent.com/${PV}/btsync_x64-${PV}.tar.gz )
x86? ( http://syncapp.bittorrent.com/${PV}/btsync_i386-${PV}.tar.gz )"
LICENSE="bittorrent-sync"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
RESTRICT="mirror bindist"
S="${WORKDIR}"
QA_PREBUILT="opt/bin/btsync"
src_install() {
exeinto /opt/bin
doexe btsync
newconfd "${FILESDIR}/btsync.confd" btsync
newinitd "${FILESDIR}/btsync.initd" btsync
}