You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
649 B

# 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
}