shadow: update to 4.14.3
[openadk.git] / package / opus / Makefile
blob0785c74d88a76416af0e5ce57e9392f028d494b5
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.3.1
8 PKG_RELEASE:= 1
9 PKG_HASH:= 65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d
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