]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/libcdada
strace: elfutils moved from addon dependency to core program
[ipfire-2.x.git] / lfs / libcdada
index 7a7b208ef30eaa81e957539fbecbe63a918af85c..0095cc35f6ca92fddc75fa7cda30168d15527e83 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2019  IPFire Team  <info@ipfire.org>                          #
+# Copyright (C) 2019-2022  IPFire Team  <info@ipfire.org>                          #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,9 @@
 
 include Config
 
-VER        = 0.3.4
+SUMMARY    = Basic data structures in C (libstdc++ wrapper)
+
+VER        = 0.4.0
 
 THISAPP    = libcdada-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,9 +34,12 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = libcdada
-PAK_VER    = 1
+PAK_VER    = 3
+
+
+DEPS       =
 
-DEPS       = 
+SERVICES   =
 
 ###############################################################################
 # Top-level Rules
@@ -44,7 +49,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = f5067835014e02d221af9754df8b140b
+$(DL_FILE)_BLAKE2 = 26e24fa513ab4a290a7632b4f56c102dc45cd9d34d4a7b7464f58aaee596b5ac3c8172080144d3f3c5cbcf5790f29e74b020f11cea943223e5933c2a7db66f8b
 
 install : $(TARGET)
 
@@ -52,13 +57,13 @@ check : $(patsubst %,$(DIR_CHK)/%,$(objects))
 
 download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
 
-dist: 
+dist:
        @$(PAK)
 
 ###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
 ###############################################################################
 
 $(patsubst %,$(DIR_CHK)/%,$(objects)) :
@@ -67,8 +72,8 @@ $(patsubst %,$(DIR_CHK)/%,$(objects)) :
 $(patsubst %,$(DIR_DL)/%,$(objects)) :
        @$(LOAD)
 
-$(subst %,%_MD5,$(objects)) :
-       @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+       @$(B2SUM)
 
 ###############################################################################
 # Installation Details
@@ -77,11 +82,14 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/libcdada-0.3.4-use-shared-library-for-tests-and-examples-build.patch
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/libcdada-0.4.0-Werror.patch
        cd $(DIR_APP) && ./autogen.sh
-       cd $(DIR_APP)/build && ../configure                     \
-                                       --prefix=/usr           \
-                                       --disable-static
+       cd $(DIR_APP) && autoupdate
+       cd $(DIR_APP)/build && ../configure             \
+                               --prefix=/usr           \
+                               --disable-static        \
+                               --without-tests         \
+                               --without-examples
        cd $(DIR_APP)/build && make install
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)