net-p2p/transmission: switch to cmake eclass

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2020-04-20 15:18:14 -04:00
parent 7f83240c55
commit d21e2b71d4

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 2006-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils systemd xdg-utils
inherit cmake systemd xdg-utils
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@@ -115,11 +115,11 @@ src_configure() {
-DWITH_SYSTEMD=$(usex systemd ON OFF)
)
cmake-utils_src_configure
cmake_src_configure
}
src_install() {
cmake-utils_src_install
cmake_src_install
newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon
newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon