summaryrefslogtreecommitdiffstats
path: root/package/libebml/libebml.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libebml/libebml.mk')
-rw-r--r--package/libebml/libebml.mk26
1 files changed, 26 insertions, 0 deletions
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))
OpenPOWER on IntegriCloud