From 68f5f72687b3b9ed32c9df070019f08951637599 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 2 Mar 2024 11:37:16 +0100 Subject: spandsp: new package --- package/spandsp/Makefile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/spandsp/Makefile (limited to 'package') diff --git a/package/spandsp/Makefile b/package/spandsp/Makefile new file mode 100644 index 000000000..a54a2fb9e --- /dev/null +++ b/package/spandsp/Makefile @@ -0,0 +1,30 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(ADK_TOPDIR)/rules.mk + +PKG_NAME:= spandsp +PKG_VERSION:= 7b0b8cf3d42b725405bcc63145de5e280265ce4e +PKG_GIT:= hash +PKG_RELEASE:= 1 +PKG_DESCR:= dsp library +PKG_SECTION:= libs/misc +PKG_BUILDDEP:= libtiff +PKG_DEPENDS:= libtiff +PKG_SITES:= https://github.com/freeswitch/spandsp.git +PKG_OPTS:= dev + +include $(ADK_TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,SPANDSP,spandsp,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS))) + +AUTOTOOL_STYLE:= autogen +CONFIGURE_ENV+= ac_cv_func_realloc_0_nonnull=yes +CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes + +spandsp-install: + $(INSTALL_DIR) $(IDIR_SPANDSP)/usr/lib + $(CP) $(WRKINST)/usr/lib/libspandsp*.so* \ + $(IDIR_SPANDSP)/usr/lib + +include $(ADK_TOPDIR)/mk/pkg-bottom.mk -- cgit v1.2.3