1 ################################################################################
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
17 define LIBDCADEC_BUILD_CMDS
18 $(TARGET_MAKE_ENV
) $(MAKE
) $(TARGET_CONFIGURE_OPTS
) \
19 CFLAGS
="$(TARGET_CFLAGS) -std=gnu99" \
20 $(LIBDCADEC_SHARED
) -C
$(@D
)
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
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
33 $(eval
$(generic-package
))