2 # Copyright (C) 2016 Nikil Mehta <nikil.mehta@gmail.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).orig.
tar.gz
15 PKG_SOURCE_URL
:=http
://http.debian.net
/debian
/pool
/main
/w
/wakeonlan
/
16 PKG_HASH
:=581b1b27a7e810ab72668cce4bd9aa9b3e0cea34b2db24dd1a44c09d63ddda98
18 PKG_MAINTAINER
:=Nikil Mehta
<nikil.mehta@gmail.com
>
19 PKG_LICENSE
:=Artistic-1.0
-Perl
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/wakeonlan
26 TITLE
:=Sends
'magic packets' to wake-on-LAN enabled ethernet adapters
27 URL
:=http
://gsd.di.uminho.pt
/jpo
/software
/wakeonlan
/
28 DEPENDS
:=+perl
+perlbase-getopt
+perlbase-net
+perlbase-socket
31 define Package
/wakeonlan
/description
32 With this package you can remotely wake up and power on machines which have
33 motherboards or network cards that support
'Wake-on-Lan' packets.
35 The tool allows you to wake up a single machine
, or a group of machines.
37 You need the MAC addresses of machines to construct the WOL packets
, but
,
38 in contrast to
'etherwake', you do not need root privileges to use the
39 program itself
as UDP packets are used.
45 define Package
/wakeonlan
/install
46 $(INSTALL_DIR
) $(1)/usr
/bin
47 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/wakeonlan
$(1)/usr
/bin
/
50 $(eval
$(call BuildPackage
,wakeonlan
))