fe8616cdcd297dcc89a6d06add6d3bd506ee80b8
[openwrt/svn-archive/archive.git] / net / wol / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=wol
12 PKG_VERSION:=0.7.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE_URL:=@SF/ahh
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_MD5SUM:=c2fa9d7e771134ac8c89d56b8197d4ca
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/wol
22 SECTION:=net
23 CATEGORY:=Network
24 TITLE:=Wake On LAN client
25 URL:=http://ahh.sourceforge.net/wol/
26 endef
27
28 define Package/wol/description
29 wol implements Wake On LAN functionality in a small program.
30 It wakes up hardware that is Magic Packet compliant.
31 endef
32
33 CONFIGURE_VARS += \
34 ac_cv_func_malloc_0_nonnull=yes \
35 ac_cv_func_realloc_0_nonnull=yes \
36 ac_cv_func_mmap_fixed_mapped=yes \
37 jm_cv_func_working_malloc=yes \
38 ac_cv_func_alloca_works=yes \
39
40 define Package/wol/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
43 endef
44
45 $(eval $(call BuildPackage,wol))