blob: fb41d0259820f77154a5f09871bfec878bac83f3 (
plain)
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit systemd transmission-2.83
DESCRIPTION="A Fast, Easy and Free BitTorrent client - daemon"
KEYWORDS="~amd64 ~x86"
IUSE="systemd"
RDEPEND="systemd? ( sys-apps/systemd )"
DEPEND="${RDEPEND}"
src_install() {
dobin daemon/transmission-daemon
dobin daemon/transmission-remote
doman daemon/transmission-daemon.1
doman daemon/transmission-remote.1
newinitd "${FILESDIR}"/${MY_PN}-daemon.initd.9 ${MY_PN}-daemon
newconfd "${FILESDIR}"/${MY_PN}-daemon.confd.4 ${MY_PN}-daemon
systemd_dounit daemon/${MY_PN}-daemon.service
}
|