summaryrefslogtreecommitdiff
path: root/package/libcdada/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-02-20 08:45:37 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-22 14:19:07 +0100
commit138520468ebd267352d8791094db880ff623cb3e (patch)
treecbb41fb47e6c6ec832fa895c3691e93a7b3277a6 /package/libcdada/Makefile
parent932e0da7440d0232d0441a2acaeb7303e6e6826a (diff)
libcdada: new package
Diffstat (limited to 'package/libcdada/Makefile')
-rw-r--r--package/libcdada/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/libcdada/Makefile b/package/libcdada/Makefile
new file mode 100644
index 000000000..4b18d20d5
--- /dev/null
+++ b/package/libcdada/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:= libcdada
+PKG_VERSION:= 0.5.2
+PKG_RELEASE:= 1
+PKG_HASH:= 507f0b7bf8cb7533c22731c64d92737e7536866be7c7dd317b89709cd6529867
+PKG_DESCR:= basic data structures in C
+PKG_SECTION:= libs/misc
+PKG_SITES:= https://github.com/msune/libcdada/archive/refs/tags/
+PKG_OPTS:= dev
+
+DISTFILES:= v$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBCDADA,libcdada,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+AUTOTOOL_STYLE:= autogen
+CONFIGURE_ARGS+= --disable-silent-rules \
+ --without-tests \
+ --without-examples
+
+libcdada-install:
+ $(INSTALL_DIR) $(IDIR_LIBCDADA)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libcdada*.so* \
+ $(IDIR_LIBCDADA)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk