nunojpg cf1e49cc67 [packages] add wifitoggle, Script to toogle WiFi with a button and UCI config (closes: #6081)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-22 16:31:05 +00:00

40 lines
836 B
Makefile

#
# Copyright (C) 2010 segal.di.ubi.pt
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=wifitoggle
PKG_VERSION:=1
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk
define Package/wifitoggle
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Script to toogle WiFi with a button and UCI config
MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
endef
define Package/wifitoggle/description
Very versatile script to toogle WiFi with a button. Allows to set
timeouts, persist changes after boot, and set leds acording to the state.
endef
define Package/wifitoggle/conffiles
/etc/config/wifitoggle
endef
define Build/Compile
endef
define Package/wifitoggle/install
$(CP) ./files/* $(1)
endef
$(eval $(call BuildPackage,wifitoggle))