nbd 996067d6b3 nuke $Id$ in /packages as well
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:22:30 +00:00

49 lines
1.2 KiB
Makefile

#
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=sispmctl
PKG_VERSION:=2.7
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_MD5SUM:=2457f76cd129f880634f3381be0aeb76
include $(INCLUDE_DIR)/package.mk
define Package/sispmctl
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Silver Shield PM Control for Linux
URL:=http://sispmctl.sourceforge.net/
DEPENDS:=+libusb
endef
define Package/sispmctl/description
The sispmctl tool can control Gembird SIS-PM Silver Shield
programmable power outlet strips (also known under the name
Revolt Intelli-Plug) from the command line.
.
It can be used to switch on or off any of the programmable
power sockets of the SIS-PM via USB. It can also show the
current status of each power socket, and it can handle
multiple SIS-PM devices, too.
endef
CONFIGURE_ARGS += \
--enable-webless \
--disable-dependency-tracking \
define Package/sispmctl/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
endef
$(eval $(call BuildPackage,sispmctl))