You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

48 lines
1.2 KiB

#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=libebml
PKG_VERSION:=1.4.2
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/Matroska-Org/libebml/tar.gz/release-$(PKG_VERSION)?
PKG_HASH:=66486742fd4f443553ad1917505208404c8c4240c0ab26cedaf41d9476efc665
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-release-$(PKG_VERSION)
PKG_MAINTAINER:=
PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=LICENSE.LGPL
CMAKE_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/libebml
SECTION:=libs
CATEGORY:=Libraries
TITLE:=a C++ libary to parse EBML files
URL:=https://github.com/Matroska-Org/libebml
DEPENDS:=+libstdcpp
BUILDONLY:=1
endef
define Package/libebml/description
a C++ libary to parse EBML files
Specifications may be rendered at http://matroska-org.github.io/libebml/
endef
CMAKE_OPTIONS += \
-DCMAKE_LINK_WHAT_YOU_USE=ON \
-DDISABLE_PKGCONFIG=OFF \
-DDISABLE_CMAKE_CONFIG=OFF \
-DENABLE_WIN32_IO=OFF
TARGET_LDFLAGS += -Wl,--gc-sections
$(eval $(call BuildPackage,libebml))