summaryrefslogtreecommitdiffstats
path: root/package/dsp-tools/dsp-tools.mk
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2011-02-07 01:45:04 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-02-07 17:22:30 +0100
commitc7bffc1d32e985a0663bce9ca9e13ee191962cf9 (patch)
treedf5177d6d66c5a7f2c0003f6ca944d6b0ccf9bfd /package/dsp-tools/dsp-tools.mk
parent6854cb49f8f673cb5700d52e8a133dcdde78c702 (diff)
downloadbuildroot-novena-c7bffc1d32e985a0663bce9ca9e13ee191962cf9.tar.gz
buildroot-novena-c7bffc1d32e985a0663bce9ca9e13ee191962cf9.zip
Add dsp-tools package
[Peter: add tidsp-binaries dependency, cleanup] Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/dsp-tools/dsp-tools.mk')
-rw-r--r--package/dsp-tools/dsp-tools.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/dsp-tools/dsp-tools.mk b/package/dsp-tools/dsp-tools.mk
new file mode 100644
index 000000000..ab31afb74
--- /dev/null
+++ b/package/dsp-tools/dsp-tools.mk
@@ -0,0 +1,18 @@
+DSP_TOOLS_VERSION = 2.0
+DSP_TOOLS_SOURCE = dsp-tools-$(DSP_TOOLS_VERSION).tar.gz
+DSP_TOOLS_SITE = http://gst-dsp.googlecode.com/files/
+DSP_TOOLS_DEPENDENCIES = tidsp-binaries
+
+define DSP_TOOLS_BUILD_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e
+endef
+
+define DSP_TOOLS_INSTALL_TARGET_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
+endef
+
+define DSP_TOOLS_UNINSTALL_TARGET_CMDS
+ rm -f $(addprefix $(TARGET_DIR)/usr/bin/dsp-, load probe test exec)
+endef
+
+$(eval $(call GENTARGETS,package,dsp-tools))