summaryrefslogtreecommitdiff
path: root/package/asplib
diff options
context:
space:
mode:
Diffstat (limited to 'package/asplib')
-rw-r--r--package/asplib/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/asplib/Makefile b/package/asplib/Makefile
new file mode 100644
index 000000000..d20ebe880
--- /dev/null
+++ b/package/asplib/Makefile
@@ -0,0 +1,31 @@
+# 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:= asplib
+PKG_VERSION:= f7219142e790a329b002a94f3db943abcb183739
+PKG_RELEASE:= 1
+PKG_DESCR:= signal processing library
+PKG_SECTION:= libs/misc
+PKG_NEEDS:= c++
+PKG_BUILDDEP:= cmake-host
+PKG_URL:= https://github.com/AchimTuran/asplib
+PKG_SITES:= https://github.com/AchimTuran/asplib.git
+PKG_OPTS:= dev
+
+WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,ASPLIB,asplib,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+CONFIG_STYLE:= cmake
+CMAKE_FLAGS+= -DASPLIB_MODULES_TO_BUILD=FFT
+
+asplib-install:
+ $(INSTALL_DIR) $(IDIR_ASPLIB)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libasplib*.so* \
+ $(IDIR_ASPLIB)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk