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