From d19be01683b6f79427beb4edfa8ae5a711fc81ef Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 27 Nov 2012 16:05:52 -0800 Subject: package: add libebml package Signed-off-by: Peter Korsgaard --- package/libebml/Config.in | 11 +++++++++++ package/libebml/libebml.mk | 26 ++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 package/libebml/Config.in create mode 100644 package/libebml/libebml.mk (limited to 'package/libebml') diff --git a/package/libebml/Config.in b/package/libebml/Config.in new file mode 100644 index 000000000..ce855b232 --- /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 000000000..0a04635e1 --- /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)) -- cgit v1.2.3