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