kodi: allow to enable avahi support
[openadk.git] / package / opus / Makefile
blobcae0fca6281a7fa899ed5b31cfa26428c5ec40e3
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= opus
7 PKG_VERSION:= 1.1.5
8 PKG_RELEASE:= 1
9 PKG_HASH:= eb84981ca0f40a3e5d5e58d2e8582cb2fee05a022825a6dfe14d14b04eb563e4
10 PKG_DESCR:= open, royalty-free, highly versatile audio codec
11 PKG_SECTION:= libs/audio
12 PKG_URL:= http://opus-codec.org/
13 PKG_SITES:= https://archive.mozilla.org/pub/opus/
14 PKG_LIBNAME:= libopus
15 PKG_OPTS:= dev
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,LIBOPUS,libopus,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
23 TARGET_CFLAGS:= $(filter-out -ffast-math,$(TARGET_CFLAGS))
25 libopus-install:
26 $(INSTALL_DIR) $(IDIR_LIBOPUS)/usr/lib
27 $(CP) $(WRKINST)/usr/lib/libopus*.so* \
28 $(IDIR_LIBOPUS)/usr/lib
30 include ${ADK_TOPDIR}/mk/pkg-bottom.mk