package/powerpc-utils: Add powerpc hardware utilities
authorJeremy Kerr <jk@ozlabs.org>
Tue, 17 Jun 2014 05:21:47 +0000 (13:21 +0800)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 17 Jul 2014 21:06:13 +0000 (23:06 +0200)
This change adds a package definition for the powerpc-utils project,
containing a set of powerpc-specific hardware management utilities.

We're using a git tag from upstream, which contains a few build-system
fixes.

[Thomas:
 - Add dependency on PowerPC architecture in Config.in.
 - Add homepage in Config.in help text.]

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/powerpc-utils/Config.in [new file with mode: 0644]
package/powerpc-utils/powerpc-utils.mk [new file with mode: 0644]

index bc010fc6a95efb89ee4c47d7a68038d5a2e16e9d..22ddea84ea33c6278381afa3e1f9433dc6125d9d 100644 (file)
@@ -1144,6 +1144,7 @@ endif
        source "package/ncdu/Config.in"
        source "package/numactl/Config.in"
        source "package/nut/Config.in"
+       source "package/powerpc-utils/Config.in"
        source "package/polkit/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
        source "package/procps-ng/Config.in"
diff --git a/package/powerpc-utils/Config.in b/package/powerpc-utils/Config.in
new file mode 100644 (file)
index 0000000..eded41e
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_POWERPC_UTILS
+       bool "powerpc-utils"
+       depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
+       select BR2_PACKAGE_ZLIB
+       help
+         System utilities for PowerPC machines.
+
+         http://sourceforge.net/projects/powerpc-utils/
diff --git a/package/powerpc-utils/powerpc-utils.mk b/package/powerpc-utils/powerpc-utils.mk
new file mode 100644 (file)
index 0000000..c9cc096
--- /dev/null
@@ -0,0 +1,16 @@
+################################################################################
+#
+# powerpc-utils
+#
+################################################################################
+
+POWERPC_UTILS_VERSION = v1.4
+POWERPC_UTILS_SITE = git://git.code.sf.net/p/powerpc-utils/powerpc-utils
+POWERPC_UTILS_AUTORECONF = YES
+POWERPC_UTILS_DEPENDENCIES = zlib
+POWERPC_UTILS_LICENSE = Common Public License Version 1.0
+POWERPC_UTILS_LICENSE_FILES = COPYRIGHT
+
+POWERPC_UTILS_CONF_OPT = --without-librtas
+
+$(eval $(autotools-package))