Makefile 906 B

123456789101112131415161718192021222324252627282930
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= spandsp
  5. PKG_VERSION:= 7b0b8cf3d42b725405bcc63145de5e280265ce4e
  6. PKG_GIT:= hash
  7. PKG_RELEASE:= 1
  8. PKG_DESCR:= dsp library
  9. PKG_SECTION:= libs/misc
  10. PKG_BUILDDEP:= libtiff
  11. PKG_DEPENDS:= libtiff
  12. PKG_SITES:= https://github.com/freeswitch/spandsp.git
  13. PKG_OPTS:= dev
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,SPANDSP,spandsp,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
  16. AUTOTOOL_STYLE:= autogen
  17. CONFIGURE_ENV+= ac_cv_func_realloc_0_nonnull=yes
  18. CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes
  19. spandsp-install:
  20. $(INSTALL_DIR) $(IDIR_SPANDSP)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/libspandsp*.so* \
  22. $(IDIR_SPANDSP)/usr/lib
  23. include $(ADK_TOPDIR)/mk/pkg-bottom.mk