blob: c61e6f7227591ec3c82f6a8032afa89df8b7145a (
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-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
GENTOO_DEPEND_ON_PERL=noslotop
inherit perl-module
DESCRIPTION="Client for Wake-On-LAN"
HOMEPAGE="https://github.com/jpoliv/wakeonlan/"
SRC_URI="https://github.com/jpoliv/wakeonlan/archive/${P}.tar.gz"
LICENSE="Artistic GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND="virtual/perl-ExtUtils-MakeMaker"
PATCHES="${FILESDIR}/${P}-ethers-lookup-r1.patch"
src_install() {
perl-module_src_install
dodoc examples/lab001.wol
fperms u+w /usr/bin/wakeonlan /usr/share/man/man1/wakeonlan.1
}
|