utils/psmisc: fix fownload site (thanks faulpelz)
[openwrt/svn-archive/archive.git] / utils / wifitoggle / Makefile
1 #
2 # Copyright (C) 2010 segal.di.ubi.pt
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=wifitoggle
11 PKG_VERSION:=1
12 PKG_RELEASE:=1
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define Package/wifitoggle
17 SECTION:=utils
18 CATEGORY:=Utilities
19 TITLE:=Script to toogle WiFi with a button and UCI config
20 MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
21 endef
22
23 define Package/wifitoggle/description
24 Very versatile script to toogle WiFi with a button. Allows to set
25 timeouts, persist changes after boot, and set leds acording to the state.
26 endef
27
28 define Package/wifitoggle/conffiles
29 /etc/config/wifitoggle
30 endef
31
32 define Build/Compile
33 endef
34
35 define Package/wifitoggle/install
36 $(CP) ./files/* $(1)
37 endef
38
39 $(eval $(call BuildPackage,wifitoggle))