summaryrefslogtreecommitdiff
path: root/package/wol
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/wol
Initial import
Diffstat (limited to 'package/wol')
-rw-r--r--package/wol/Config.in10
-rw-r--r--package/wol/Makefile32
-rw-r--r--package/wol/ipkg/wol.control4
3 files changed, 46 insertions, 0 deletions
diff --git a/package/wol/Config.in b/package/wol/Config.in
new file mode 100644
index 000000000..25228bf3a
--- /dev/null
+++ b/package/wol/Config.in
@@ -0,0 +1,10 @@
+config ADK_PACKAGE_WOL
+ prompt "wol............................... Wake On LAN client"
+ tristate
+ default n
+ help
+ wol implements Wake On LAN functionality in a small program.
+ It wakes up hardware that is Magic Packet compliant.
+
+ http://ahh.sourceforge.net/wol/
+
diff --git a/package/wol/Makefile b/package/wol/Makefile
new file mode 100644
index 000000000..1a4434148
--- /dev/null
+++ b/package/wol/Makefile
@@ -0,0 +1,32 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= wol
+PKG_VERSION:= 0.7.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= c2fa9d7e771134ac8c89d56b8197d4ca
+
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=ahh/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,WOL,wol,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ARGS+= ac_cv_func_malloc_0_nonnull=yes \
+ ac_cv_func_realloc_0_nonnull=yes \
+ ac_cv_func_mmap_fixed_mapped=yes \
+ jm_cv_func_working_malloc=yes \
+ ac_cv_func_alloca_works=yes
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_WOL}/usr/bin/
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/wol ${IDIR_WOL}/usr/bin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/wol/ipkg/wol.control b/package/wol/ipkg/wol.control
new file mode 100644
index 000000000..179ba7c86
--- /dev/null
+++ b/package/wol/ipkg/wol.control
@@ -0,0 +1,4 @@
+Package: wol
+Priority: optional
+Section: net
+Description: A Program to send magic Wake-on-LAN packets