package: add libebml package
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
d0a13821d7
commit
d19be01683
@ -435,6 +435,7 @@ endmenu
|
||||
menu "Multimedia"
|
||||
source "package/libdvdread/Config.in"
|
||||
source "package/libdvdnav/Config.in"
|
||||
source "package/libebml/Config.in"
|
||||
source "package/libmms/Config.in"
|
||||
source "package/libmpeg2/Config.in"
|
||||
source "package/libogg/Config.in"
|
||||
|
11
package/libebml/Config.in
Normal file
11
package/libebml/Config.in
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_LIBEBML
|
||||
bool "libebml"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Access library for the EBML (Extensible Binary Meta
|
||||
Language, a binary derivative of XML) format.
|
||||
|
||||
http://matroska.org
|
||||
|
||||
comment "libebml requires a toolchain with C++ support"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
26
package/libebml/libebml.mk
Normal file
26
package/libebml/libebml.mk
Normal file
@ -0,0 +1,26 @@
|
||||
#############################################################
|
||||
#
|
||||
# libebml
|
||||
#
|
||||
#############################################################
|
||||
|
||||
LIBEBML_VERSION = 1.2.2
|
||||
LIBEBML_SOURCE = libebml-$(LIBEBML_VERSION).tar.bz2
|
||||
LIBEBML_SITE = http://dl.matroska.org/downloads/libebml/
|
||||
LIBEBML_INSTALL_STAGING = YES
|
||||
LIBEBML_LICENSE = LGPLv2.1+
|
||||
LIBEBML_LICENSE_FILES = LICENSE.LGPL
|
||||
|
||||
define LIBEBML_BUILD_CMDS
|
||||
$(MAKE) -C $(@D)/make/linux CROSS="$(CCACHE) $(TARGET_CROSS)"
|
||||
endef
|
||||
|
||||
define LIBEBML_INSTALL_STAGING_CMDS
|
||||
$(MAKE) -C $(@D)/make/linux prefix=$(STAGING_DIR)/usr install
|
||||
endef
|
||||
|
||||
define LIBEBML_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D)/make/linux prefix=$(TARGET_DIR)/usr install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
Loading…
Reference in New Issue
Block a user