lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

Makefile (1499B)


      1 #
      2 # Copyright (C) 2008-2014 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.1+20120206
     12 PKG_RELEASE:=1
     13 
     14 PKG_SOURCE_PROTO:=git
     15 PKG_SOURCE_VERSION:=5ff4a05a5bcb6a64a9d6f77fed47014512f66b11
     16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
     17 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
     18 PKG_SOURCE_URL:=git://git.code.sf.net/p/sispmctl/git
     19 PKG_MAINTAINER:=Richard Kunze <richard.kunze@web.de>
     20 PKG_LICENSE:=GPL-2.0+
     21 
     22 PKG_INSTALL:=1
     23 PKG_FIXUP:=autoreconf
     24 
     25 include $(INCLUDE_DIR)/package.mk
     26 
     27 define Package/sispmctl
     28   SECTION:=utils
     29   CATEGORY:=Utilities
     30   TITLE:=Silver Shield PM Control for Linux
     31   URL:=http://sispmctl.sourceforge.net/
     32   DEPENDS:=+libusb-compat
     33 endef
     34 
     35 define Package/sispmctl/description
     36  The sispmctl tool can control Gembird SIS-PM Silver Shield
     37  programmable power outlet strips (also known under the name
     38  Revolt Intelli-Plug) from the command line.
     39  .
     40  It can be used to switch on or off any of the programmable
     41  power sockets of the SIS-PM via USB. It can also show the
     42  current status of each power socket, and it can handle
     43  multiple SIS-PM devices, too.
     44 endef
     45 
     46 TARGET_CFLAGS += -D_GNU_SOURCE
     47 CONFIGURE_ARGS += \
     48 	--enable-webless \
     49 	--disable-dependency-tracking
     50 
     51 define Package/sispmctl/install
     52 	$(INSTALL_DIR) $(1)/usr/bin
     53 	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
     54 endef
     55 
     56 $(eval $(call BuildPackage,sispmctl))