mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 21:56:40 +02:00
https://github.com/jpoliv/wakeonlan/ Perl script for waking up computers via Wake-On-LAN magic packets
30 lines
1 KiB
Text
30 lines
1 KiB
Text
# Contributor: Robin Candau <robincandau@protonmail.com>
|
|
# Maintainer: Robin Candau <robincandau@protonmail.com>
|
|
pkgname=wakeonlan
|
|
pkgver=0.42
|
|
pkgrel=0
|
|
pkgdesc="Perl script for waking up computers via Wake-On-LAN magic packets"
|
|
url="https://github.com/jpoliv/wakeonlan"
|
|
arch="noarch"
|
|
license="Artistic-2.0"
|
|
depends="perl"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/jpoliv/wakeonlan/archive/v$pkgver.tar.gz"
|
|
options="!check" # no test suite
|
|
|
|
build() {
|
|
perl Makefile.PL
|
|
make
|
|
}
|
|
|
|
package() {
|
|
install -Dm 755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
|
|
install -Dm 644 "blib/man1/$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1"
|
|
install -Dm 644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
|
|
install -Dm 644 Changes "$pkgdir/usr/share/doc/$pkgname/Changes"
|
|
find examples/ -type f -exec install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" {} +
|
|
}
|
|
|
|
sha512sums="
|
|
46ecc7106eefa0b993f0f59eb4e4a593fac7831dffee87c743a7bd757abf366258e99e1efc6742fb3992ee066cb4e280787d0bf3d2db7fb4c88be7c09452da81 wakeonlan-0.42.tar.gz
|
|
"
|