summaryrefslogtreecommitdiff
path: root/community/wol/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/wol/PKGBUILD')
-rw-r--r--community/wol/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/wol/PKGBUILD b/community/wol/PKGBUILD
new file mode 100644
index 000000000..87bfc7005
--- /dev/null
+++ b/community/wol/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 17446 2010-05-24 10:42:15Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Anders Bergh <anders1@gmail.com>
+# Contributor: Markus Volkmann <mcfock@counterstrike.de>
+
+pkgname=wol
+pkgver=0.7.1
+pkgrel=4
+arch=('i686' 'x86_64')
+pkgdesc="wol implements Wake On LAN functionality in a small program. It wakes up hardware that is Magic Packet compliant."
+license=("GPL")
+depends=(sh)
+url="http://ahh.sourceforge.net/wol/"
+install=wol.install
+source=(http://downloads.sourceforge.net/ahh/wol-$pkgver.tar.gz)
+md5sums=('c2fa9d7e771134ac8c89d56b8197d4ca')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make || return 1
+ make prefix=$startdir/pkg/usr install || return 1
+
+ mv $pkgdir/usr/man $pkgdir/usr/share/ && \
+ mv $pkgdir/usr/info $pkgdir/usr/share/ && \
+ rm $pkgdir/usr/share/info/dir
+}