summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-03-02 11:37:16 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-03-02 11:48:02 +0100
commit68f5f72687b3b9ed32c9df070019f08951637599 (patch)
tree01058efdb6ae922f546fea7e36c900f11eaa6a1e /package
parentf4b2a7dc4d7404c8407203dc3c75184a3d5dc0af (diff)
spandsp: new package
Diffstat (limited to 'package')
-rw-r--r--package/spandsp/Makefile30
1 files changed, 30 insertions, 0 deletions
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