summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-22 15:53:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-22 15:53:08 (GMT)
commit9a090d589e16987b6e921f236149e3d42d7c1eb3 (patch)
tree85c8522fbc8ce7992af9b67752349a1211e4fdec /abs
parent3c569dffbbaece50e52f97168d6cacfcacf772e1 (diff)
downloadlinhes_pkgbuild-9a090d589e16987b6e921f236149e3d42d7c1eb3.zip
linhes_pkgbuild-9a090d589e16987b6e921f236149e3d42d7c1eb3.tar.gz
linhes_pkgbuild-9a090d589e16987b6e921f236149e3d42d7c1eb3.tar.bz2
etherwake: first build, used by supplemental web
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/etherwake/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
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 <massimiliano.torromeo@gmail.com>
+# Contributor: Markus Volkmann <mcfock@counterstrike.de>
+
+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')