1 ################################################################################
5 ################################################################################
7 LIBEBML_VERSION
= 1.2.2
8 LIBEBML_SOURCE
= libebml-
$(LIBEBML_VERSION
).
tar.bz2
9 LIBEBML_SITE
= http
://dl.matroska.org
/downloads
/libebml
10 LIBEBML_INSTALL_STAGING
= YES
11 LIBEBML_LICENSE
= LGPLv2.1
+
12 LIBEBML_LICENSE_FILES
= LICENSE.LGPL
14 ifeq ($(BR2_PREFER_STATIC_LIB
),y
)
15 LIBEBML_MAKE_TARGETS
= staticlib
16 LIBEBML_MAKE_INSTALL_TARGETS
= install_staticlib install_headers
18 LIBEBML_MAKE_TARGETS
= staticlib sharedlib
19 LIBEBML_MAKE_INSTALL_TARGETS
= install_staticlib install_sharedlib install_headers
22 define LIBEBML_BUILD_CMDS
23 $(MAKE
) -C
$(@D
)/make
/linux CROSS
="$(CCACHE) $(TARGET_CROSS)" \
24 $(LIBEBML_MAKE_TARGETS
)
27 define LIBEBML_INSTALL_STAGING_CMDS
28 $(MAKE
) -C
$(@D
)/make
/linux
prefix=$(STAGING_DIR
)/usr \
29 $(LIBEBML_MAKE_INSTALL_TARGETS
)
32 define LIBEBML_INSTALL_TARGET_CMDS
33 $(MAKE
) -C
$(@D
)/make
/linux
prefix=$(TARGET_DIR
)/usr \
34 $(LIBEBML_MAKE_INSTALL_TARGETS
)
37 $(eval
$(generic-package
))