ruby: bump version to 2.4.1
[buildroot-gz.git] / package / libdcadec / libdcadec.mk
blob48e4a12f65e6ade6237b53dc30ef4a7340d85e4f
1 ################################################################################
3 # libdcadec
5 ################################################################################
7 LIBDCADEC_VERSION = v0.2.0
8 LIBDCADEC_SITE = $(call github,foo86,dcadec,$(LIBDCADEC_VERSION))
9 LIBDCADEC_LICENSE = LGPLv2.1+
10 LIBDCADEC_LICENSE_FILES = COPYING.LGPLv2.1
11 LIBDCADEC_INSTALL_STAGING = YES
13 ifeq ($(BR2_STATIC_LIBS),)
14 LIBDCADEC_SHARED = CONFIG_SHARED=1
15 endif
17 define LIBDCADEC_BUILD_CMDS
18 $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
19 CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \
20 $(LIBDCADEC_SHARED) -C $(@D)
21 endef
23 define LIBDCADEC_INSTALL_STAGING_CMDS
24 $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
25 $(LIBDCADEC_SHARED) DESTDIR=$(STAGING_DIR) PREFIX=/usr install
26 endef
28 define LIBDCADEC_INSTALL_TARGET_CMDS
29 $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
30 $(LIBDCADEC_SHARED) DESTDIR=$(TARGET_DIR) PREFIX=/usr install
31 endef
33 $(eval $(generic-package))