2
1
Эх сурвалжийг харах

package/powerpc-utils: Add powerpc hardware utilities

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>
Jeremy Kerr 11 жил өмнө
parent
commit
4ef1fb88fa

+ 1 - 0
package/Config.in

@@ -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"

+ 8 - 0
package/powerpc-utils/Config.in

@@ -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/

+ 16 - 0
package/powerpc-utils/powerpc-utils.mk

@@ -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))