From 9a090d589e16987b6e921f236149e3d42d7c1eb3 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 22 Dec 2012 09:53:08 -0600 Subject: etherwake: first build, used by supplemental web --- abs/extra/etherwake/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 abs/extra/etherwake/PKGBUILD diff --git a/abs/extra/etherwake/PKGBUILD b/abs/extra/etherwake/PKGBUILD new file mode 100644 index 0000000..bbe4f6a --- /dev/null +++ b/abs/extra/etherwake/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Massimiliano Torromeo +# Contributor: Markus Volkmann + +pkgname=etherwake +pkgver=1.09 +pkgrel=5 +arch=(i686 x86_64) +pkgdesc="Utility for waking up computers via wake-on-lan (wol)" +license="GPL" +url="http://www.scyld.com/wakeonlan.html" +source=(https://launchpad.net/ubuntu/+archive/primary/+files/etherwake_1.09.orig.tar.gz) + +build() { + cd "$srcdir/$pkgname-$pkgver.orig" + rm -f etherwake etherwake.8.gz + gcc ether-wake.c -o etherwake + gzip etherwake.8 +} + +package() { + cd "$srcdir/$pkgname-$pkgver.orig" + install -Dm0755 etherwake "$pkgdir/usr/sbin/etherwake" + install -Dm0644 etherwake.8.gz "$pkgdir/usr/share/man/man8/etherwake.8" +} + +md5sums=('628e8b2a28d47f262e4c26c989402a59') -- cgit v0.12