Skip to contentSkip to conversation

sispmctl: new package

PATCH New Phil Eichinger 2 participants 2 messages May 29, 2014 – Jun 9, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sispmctl: new package

---
 package/Config.in            |    1 +
 package/sispmctl/Config.in   |   11 +++++++++++
 package/sispmctl/sispmctl.mk |   17 +++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 100644 package/sispmctl/Config.in
 create mode 100644 package/sispmctl/sispmctl.mk
package/Config.in +1 -0
index 3bc8d24..594cca4 100644
@@ -341,6 +341,7 @@ source "package/sane-backends/Config.in"
 source "package/sdparm/Config.in"
 source "package/setserial/Config.in"
 source "package/sg3_utils/Config.in"
+source "package/sispmctl/Config.in"
 source "package/smartmontools/Config.in"
 source "package/smstools3/Config.in"
 source "package/snowball-hdmiservice/Config.in"
package/sispmctl/Config.in new file +11 -0
new file mode 100644
index 0000000..98b3c7d
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_SISPMCTL
+	bool "sispmctl"
+	select BR2_PACKAGE_LIBUSB_COMPAT
+	depends on BR2_USE_MMU # fork()
+	help
+	  sispmctl is an application enabling the use of the GEMBIRD SiS-PM 
+	  and mSiS(sispm) USB-controlled power-outlet device under Linux. 
+	  Note that the device is also sold under different Names, i.e. as "IntelliPlug" in Germany.
+	  
+	  http://sispmctl.sourceforge.net/
+
package/sispmctl/sispmctl.mk new file +17 -0
new file mode 100644
index 0000000..51de0aa
@@ -0,0 +1,17 @@
+################################################################################
+#
+# sispmctl
+#
+################################################################################
+
+SISPMCTL_VERSION = 3.1
+SISPMCTL_SITE = http://downloads.sourceforge.net/project/sispmctl/sispmctl/sispmctl-$(SISPMCTL_VERSION)
+SISPMCTL_LICENSE = GPLv2
+SISPMCTL_LICENSE_FILES = LICENCE
+SISPMCTL_DEPENDENCIES = libusb-compat
+
+SISPMCTL_CONF_ENV = HAVELIBUSB=$(STAGING_DIR)/usr/bin/libusb-config
+SISPMCTL_CONF_OPT = --enable-webless \
+		 --disable-dependency-tracking
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 sispmctl: new package

Dear Phil Eichinger,

Quoted 9 lines · Phil Eichinger
---
 package/Config.in            |    1 +
 package/sispmctl/Config.in   |   11 +++++++++++
 package/sispmctl/sispmctl.mk |   17 +++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 100644 package/sispmctl/Config.in
 create mode 100644 package/sispmctl/sispmctl.mk

Thanks, I've applied your patch, after making a small number of changes. Here is the list of changes I made:

[Thomas:
- Add missing select of BR2_PACKAGE_LIBUSB, since BR2_PACKAGE_LIBUSB_COMPAT depends on it
- Add missing thread dependency, since libusb requires threads.
- Add missing wide-char dependency. Without wide char support, sispmctl doesn't build.
- Rewrap the Config.in help text, and remove trailing whitespaces.
- License is GPLv2+, not GPLv2.
- Remove --disable-dependency-tracking from <pkg>_CONF_OPT. That's a global, standard, autoconf option, and there's no reason to pass it at the per-package level.]

Thanks a lot for your contribution!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com