kumquat-buildroot/package/multimedia/gst-dsp/gst-dsp.mk
Thomas Petazzoni 0849e8193e package: remove useless arguments from GENTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:09:58 +02:00

20 lines
496 B
Makefile

GST_DSP_VERSION=0.8.0
GST_DSP_SOURCE=gst-dsp-$(GST_DSP_VERSION).tar.gz
GST_DSP_SITE=http://gst-dsp.googlecode.com/files/
define GST_DSP_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e
endef
define GST_DSP_INSTALL_TARGET_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
endef
define GST_DSP_UNINSTALL_TARGET_CMDS
$(RM) $(TARGET_DIR)/usr/lib/gstreamer-0.10/libgstdsp.so
endef
GST_DSP_DEPENDENCIES = gstreamer tidsp-binaries
$(eval $(call GENTARGETS))