imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / spandsp / Makefile
bloba54a2fb9edc09f943ef39eb66ba82cadb3bbca13
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:= spandsp
7 PKG_VERSION:= 7b0b8cf3d42b725405bcc63145de5e280265ce4e
8 PKG_GIT:= hash
9 PKG_RELEASE:= 1
10 PKG_DESCR:= dsp library
11 PKG_SECTION:= libs/misc
12 PKG_BUILDDEP:= libtiff
13 PKG_DEPENDS:= libtiff
14 PKG_SITES:= https://github.com/freeswitch/spandsp.git
15 PKG_OPTS:= dev
17 include $(ADK_TOPDIR)/mk/package.mk
19 $(eval $(call PKG_template,SPANDSP,spandsp,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
21 AUTOTOOL_STYLE:= autogen
22 CONFIGURE_ENV+= ac_cv_func_realloc_0_nonnull=yes
23 CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes
25 spandsp-install:
26 $(INSTALL_DIR) $(IDIR_SPANDSP)/usr/lib
27 $(CP) $(WRKINST)/usr/lib/libspandsp*.so* \
28 $(IDIR_SPANDSP)/usr/lib
30 include $(ADK_TOPDIR)/mk/pkg-bottom.mk