summaryrefslogtreecommitdiffstats
path: root/package/sysprof/sysprof.mk
diff options
context:
space:
mode:
authorWill Newton <will.newton@gmail.com>2012-07-27 16:26:23 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-30 23:50:11 +0200
commit58a62766a1869c913845a649890855515aebb016 (patch)
tree8c91584c07e5216a3179edeb6185cfe99d538a51 /package/sysprof/sysprof.mk
parente61153cf972e1f060bc0905df61381a9548cb16e (diff)
sysprof: New package.
[thomas.petazzoni@free-electrons.com: - add dependencies on the supported architectures to avoid build failures on ARM and other unsupported arches - add a patch that removes an useless warning about the kernel version. This patch is present upstream. However since it modifies configure.ac, we need to autoreconf the package.] Signed-off-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/sysprof/sysprof.mk')
-rw-r--r--package/sysprof/sysprof.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/sysprof/sysprof.mk b/package/sysprof/sysprof.mk
new file mode 100644
index 000000000..03355d83e
--- /dev/null
+++ b/package/sysprof/sysprof.mk
@@ -0,0 +1,22 @@
+#############################################################
+#
+# sysprof
+#
+#############################################################
+
+SYSPROF_VERSION = 1.1.8
+SYSPROF_SITE = http://sysprof.com
+SYSPROF_DEPENDENCIES = libglib2
+SYSPROF_AUTORECONF = YES
+
+ifeq ($(BR2_PACKAGE_SYSPROF_GUI),y)
+SYSPROF_DEPENDENCIES += libgtk2 libglade gdk-pixbuf
+endif
+
+define SYSPROF_CREATE_M4_DIR
+ mkdir -p $(@D)/m4
+endef
+
+SYSPROF_POST_PATCH_HOOKS += SYSPROF_CREATE_M4_DIR
+
+$(eval $(autotools-package))