Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] sispmctl: new package
@ 2014-05-29 15:05 Phil Eichinger
  2014-06-09 12:42 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Eichinger @ 2014-05-29 15:05 UTC (permalink / raw)
  To: buildroot


Signed-off-by: Phil Eichinger <phil@zankapfel.net>
---
 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

diff --git a/package/Config.in b/package/Config.in
index 3bc8d24..594cca4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/sispmctl/Config.in b/package/sispmctl/Config.in
new file mode 100644
index 0000000..98b3c7d
--- /dev/null
+++ b/package/sispmctl/Config.in
@@ -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/
+
diff --git a/package/sispmctl/sispmctl.mk b/package/sispmctl/sispmctl.mk
new file mode 100644
index 0000000..51de0aa
--- /dev/null
+++ b/package/sispmctl/sispmctl.mk
@@ -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))
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] sispmctl: new package
  2014-05-29 15:05 [Buildroot] [PATCH 1/1] sispmctl: new package Phil Eichinger
@ 2014-06-09 12:42 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-06-09 12:42 UTC (permalink / raw)
  To: buildroot

Dear Phil Eichinger,

On Thu, 29 May 2014 17:05:33 +0200, Phil Eichinger wrote:
> 
> Signed-off-by: Phil Eichinger <phil@zankapfel.net>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-09 12:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-29 15:05 [Buildroot] [PATCH 1/1] sispmctl: new package Phil Eichinger
2014-06-09 12:42 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox