diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2012-11-27 16:05:52 -0800 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-11-27 16:06:05 -0800 |
commit | d19be01683b6f79427beb4edfa8ae5a711fc81ef (patch) | |
tree | 8b3470a10b467fee442b331db1cf3090f60e3877 | |
parent | d0a13821d7f6ceb34061014b9899eb81c3988ccf (diff) | |
download | buildroot-d19be01683b6f79427beb4edfa8ae5a711fc81ef.tar.gz buildroot-d19be01683b6f79427beb4edfa8ae5a711fc81ef.zip |
package: add libebml package
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | package/Config.in | 1 | ||||
-rw-r--r-- | package/libebml/Config.in | 11 | ||||
-rw-r--r-- | package/libebml/libebml.mk | 26 |
3 files changed, 38 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in index d566a39bf1..fa04fd731e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/libebml/Config.in b/package/libebml/Config.in new file mode 100644 index 0000000000..ce855b232c --- /dev/null +++ b/package/libebml/Config.in @@ -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 diff --git a/package/libebml/libebml.mk b/package/libebml/libebml.mk new file mode 100644 index 0000000000..0a04635e1e --- /dev/null +++ b/package/libebml/libebml.mk @@ -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)) |