kumquat-buildroot/package/multimedia/gst-omapfb/gst-omapfb.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
509 B
Makefile

GST_OMAPFB_VERSION=1.0
GST_OMAPFB_SOURCE=gst-omapfb-$(GST_OMAPFB_VERSION).tar.gz
GST_OMAPFB_SITE=http://gst-dsp.googlecode.com/files/
define GST_OMAPFB_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e
endef
define GST_OMAPFB_INSTALL_TARGET_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
endef
define GST_OMAPFB_UNINSTALL_TARGET_CMDS
$(RM) $(TARGET_DIR)/usr/lib/gstreamer-0.10/libgstomapfb.so
endef
GST_OMAPFB_DEPENDENCIES = gstreamer
$(eval $(call GENTARGETS))