4c6bf9408d
This version bump is needed by ffmpeg 3.0: http://git.videolan.org/?p=ffmpeg.git;a=blobdiff;f=configure;h=a30d831c97575858c760694f191b4efe71360301;hp=8cbd5e574979e1a9492754aa41fcff233ee8da33;hb=27ce53b52d0d5f2c1d59da13491b74fe73cde964;hpb=26a84e2dae4007628d30cae746822486076767ee Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
34 lines
982 B
Makefile
34 lines
982 B
Makefile
################################################################################
|
|
#
|
|
# libdcadec
|
|
#
|
|
################################################################################
|
|
|
|
LIBDCADEC_VERSION = v0.2.0
|
|
LIBDCADEC_SITE = $(call github,foo86,dcadec,$(LIBDCADEC_VERSION))
|
|
LIBDCADEC_LICENSE = LGPLv2.1+
|
|
LIBDCADEC_LICENSE_FILES = COPYING.LGPLv2.1
|
|
LIBDCADEC_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),)
|
|
LIBDCADEC_SHARED = CONFIG_SHARED=1
|
|
endif
|
|
|
|
define LIBDCADEC_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \
|
|
$(LIBDCADEC_SHARED) -C $(@D)
|
|
endef
|
|
|
|
define LIBDCADEC_INSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
|
$(LIBDCADEC_SHARED) DESTDIR=$(STAGING_DIR) PREFIX=/usr install
|
|
endef
|
|
|
|
define LIBDCADEC_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
|
$(LIBDCADEC_SHARED) DESTDIR=$(TARGET_DIR) PREFIX=/usr install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|