2 # Copyright (C) 2008-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
16 PKG_HASH
:=0f8391f7e95cbf1fb96a68686a1dcf1e16747b050ae1b8ff90653c99976068db
19 PKG_LICENSE
:=GPL-2.0
-or-later
20 PKG_LICENSE_FILES
:=COPYING
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/libsispmctl
30 TITLE
:=Silver Shield PM Control for Linux library
31 URL
:=http
://sispmctl.sourceforge.net
32 DEPENDS
:=+libusb-compat
35 define Package
/sispmctl
38 TITLE
:=Silver Shield PM Control for Linux
39 URL
:=http
://sispmctl.sourceforge.net
43 define Package
/sispmctl
/description
44 The sispmctl tool can control Gembird SIS-PM Silver Shield
45 programmable power outlet strips
(also known under the name
46 Revolt Intelli-Plug
) from the command line.
48 It can be used to switch on or off any of the programmable
49 power sockets of the SIS-PM via USB. It can also show the
50 current status of each power socket
, and it can handle
51 multiple SIS-PM devices
, too.
56 --disable-dependency-tracking
58 define Package
/libsispmctl
/install
59 $(INSTALL_DIR
) $(1)/usr
/lib
60 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libsispmctl.so
* $(1)/usr
/lib
/
63 define Package
/sispmctl
/install
64 $(INSTALL_DIR
) $(1)/usr
/bin
65 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/sispmctl
$(1)/usr
/bin
/
68 $(eval
$(call BuildPackage
,libsispmctl
))
69 $(eval
$(call BuildPackage
,sispmctl
))