source: packages/net/wol/Makefile

Last change on this file was 40073, checked in by juhosg, 3 years ago

packages/wol: fix whitespaces

Signed-off-by: Dirk Neukirchen <dirkneukirchen@…>
Signed-off-by: Gabor Juhos <juhosg@…>

  • Property copyright set to Copyright (C) 2007 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1#
2# Copyright (C) 2007-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=wol
11PKG_VERSION:=0.7.1
12PKG_RELEASE:=3
13
14PKG_SOURCE_URL:=@SF/ahh
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16PKG_MD5SUM:=c2fa9d7e771134ac8c89d56b8197d4ca
17
18PKG_BUILD_PARALLEL:=1
19
20include $(INCLUDE_DIR)/package.mk
21
22define Package/wol
23  SECTION:=net
24  CATEGORY:=Network
25  TITLE:=Wake On LAN client
26  URL:=http://ahh.sourceforge.net/wol/
27endef
28
29define Package/wol/description
30 wol implements Wake On LAN functionality in a small program.
31 It wakes up hardware that is Magic Packet compliant.
32endef
33
34CONFIGURE_VARS += \
35        ac_cv_func_malloc_0_nonnull=yes \
36        ac_cv_func_realloc_0_nonnull=yes \
37        ac_cv_func_mmap_fixed_mapped=yes \
38        jm_cv_func_working_malloc=yes \
39        ac_cv_func_alloca_works=yes \
40
41define Package/wol/install
42        $(INSTALL_DIR) $(1)/usr/bin
43        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
44        $(INSTALL_DIR) $(1)/etc/config
45        $(INSTALL_DATA) ./files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
46        $(INSTALL_DIR) $(1)/etc/init.d
47        $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
48endef
49
50define Package/wol/conffiles
51/etc/config/wol
52endef
53
54$(eval $(call BuildPackage,wol))
Note: See TracBrowser for help on using the repository browser.