6c65156b7bed8929a53f7920f88451b828b71f31
[packages.git] / utils / sispmctl / Makefile
1 #
2 # Copyright (C) 2008-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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=sispmctl
11 PKG_VERSION:=3.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16 PKG_MD5SUM:=eca3d5803a29617432ef9f609be59bad
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/sispmctl
23   SECTION:=utils
24   CATEGORY:=Utilities
25   TITLE:=Silver Shield PM Control for Linux
26   URL:=http://sispmctl.sourceforge.net/
27   DEPENDS:=+libusb
28 endef
29
30 define Package/sispmctl/description
31  The sispmctl tool can control Gembird SIS-PM Silver Shield
32  programmable power outlet strips (also known under the name
33  Revolt Intelli-Plug) from the command line.
34  .
35  It can be used to switch on or off any of the programmable
36  power sockets of the SIS-PM via USB. It can also show the
37  current status of each power socket, and it can handle
38  multiple SIS-PM devices, too.
39 endef
40
41 CONFIGURE_ARGS += \
42         --enable-webless \
43         --disable-dependency-tracking
44
45 define Package/sispmctl/install
46         $(INSTALL_DIR) $(1)/usr/bin
47         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
48 endef
49
50 $(eval $(call BuildPackage,sispmctl))