]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
acpitool: new package
authorErico Nunes <nunes.erico@gmail.com>
Sat, 26 Mar 2016 18:26:16 +0000 (15:26 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 3 Jul 2016 07:50:07 +0000 (09:50 +0200)
acpitool is a small, convenient command-line ACPI client.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Tested-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/acpitool/Config.in [new file with mode: 0644]
package/acpitool/acpitool.hash [new file with mode: 0644]
package/acpitool/acpitool.mk [new file with mode: 0644]

index 550beb39a6cac83f8208535fdb10e3e307d27127..c57c932b813fee5e805c4a5a4117d9de7f3da016 100644 (file)
@@ -352,6 +352,7 @@ menu "Firmware"
 endmenu
        source "package/a10disp/Config.in"
        source "package/acpid/Config.in"
+       source "package/acpitool/Config.in"
        source "package/aer-inject/Config.in"
        source "package/am335x-pru-package/Config.in"
        source "package/avrdude/Config.in"
diff --git a/package/acpitool/Config.in b/package/acpitool/Config.in
new file mode 100644 (file)
index 0000000..7992e0f
--- /dev/null
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_ACPITOOL
+       bool "acpitool"
+       depends on BR2_INSTALL_LIBSTDCPP
+       help
+         A small, convenient command-line ACPI client with a lot of
+         features for Linux
+
+         http://acpitool.sourceforge.net
+
+comment "acpitool needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/acpitool/acpitool.hash b/package/acpitool/acpitool.hash
new file mode 100644 (file)
index 0000000..e25dc54
--- /dev/null
@@ -0,0 +1,2 @@
+# locally computed hash
+sha256 004fb6cd43102918b6302cf537a2db7ceadda04aef2e0906ddf230f820dad34f acpitool-0.5.1.tar.bz2
diff --git a/package/acpitool/acpitool.mk b/package/acpitool/acpitool.mk
new file mode 100644 (file)
index 0000000..f663fbb
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# acpitool
+#
+################################################################################
+
+ACPITOOL_VERSION = 0.5.1
+ACPITOOL_SOURCE = acpitool-$(ACPITOOL_VERSION).tar.bz2
+ACPITOOL_SITE = http://downloads.sourceforge.net/sourceforge/acpitool
+ACPITOOL_LICENSE = GPLv2+
+ACPITOOL_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))