Radix cross Linux 3pp sources

RcL sources – is a tree of Third Party and Radix source tarballs

343 Commits   0 Branches   0 Tags
author: kx <kx@radix.pro> 2023-04-09 03:24:10 +0300 committer: kx <kx@radix.pro> 2023-04-09 03:24:10 +0300 commit: 3dd1914515dc5c714451bc4148f0abb51672ed06 parent: c0eee091446a07e56576b7d855dd09f0da9968c8
Commit Summary:
libraries
Diffstat:
4 files changed, 107 insertions, 0 deletions
diff --git a/packages/l/ieee1394/Makefile b/packages/l/ieee1394/Makefile
new file mode 100644
index 0000000..40bfd8a
--- /dev/null
+++ b/packages/l/ieee1394/Makefile
@@ -0,0 +1,26 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := libavc1394  \
+           libiec61883 \
+           libraw1394
+
+
+all-recursive downloads_clean-recursive:
+	@set fnord $(MAKEFLAGS); amf=$$2; \
+	target=`echo $@ | sed s/-recursive//`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  echo "Making $$target in $$subdir"; \
+	  local_target="$$target"; \
+	  (cd $$subdir && $(MAKE) $$fnord $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done; test -z "$$fail"
+
+all: all-recursive
+
+downloads_clean: downloads_clean-recursive
+
+.PHONY: all-recursive downloads_clean-recursive all downloads_clean
diff --git a/packages/l/ieee1394/libavc1394/Makefile b/packages/l/ieee1394/libavc1394/Makefile
new file mode 100644
index 0000000..c8b7233
--- /dev/null
+++ b/packages/l/ieee1394/libavc1394/Makefile
@@ -0,0 +1,40 @@
+#
+# Project Home:
+# ============
+# https://sourceforge.net/projects/libavc1394
+#
+# Downloads:
+# =========
+# https://downloads.sourceforge.net/project/libavc1394/libavc1394/${VERSION}/libavc1394-${VERSION}.tar.gz
+# https://downloads.sourceforge.net/project/libavc1394/libavc1394/libavc1394-0.5.4.tar.gz
+#
+
+url         = https://downloads.sourceforge.net/project/libavc1394/libavc1394
+
+versions    = 0.5.4
+
+pkgname     = libavc1394
+suffix      = tar.gz
+
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+
+all: $(tarballs) $(sha1s)
+
+.PHONY: downloads_clean
+
+$(tarballs):
+	@echo -e "\n======= Downloading source tarballs =======\n"
+	@for tarball in $(tarballs) ; do \
+	  wget -N $(url)/$$tarball ; \
+	done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)
diff --git a/packages/l/ieee1394/libiec61883/Makefile b/packages/l/ieee1394/libiec61883/Makefile
new file mode 100644
index 0000000..6faf77d
--- /dev/null
+++ b/packages/l/ieee1394/libiec61883/Makefile
@@ -0,0 +1,40 @@
+#
+# Project Home:
+# ============
+# https://ieee1394.wiki.kernel.org/index.php/Main_Page
+#
+# Downloads:
+# =========
+# https://www.kernel.org/pub/linux/libs/ieee1394
+#
+
+url         = https://www.kernel.org/pub/linux/libs/ieee1394
+
+versions    = 1.2.0
+
+pkgname     = libiec61883
+suffix      = tar.xz
+
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+
+all: $(tarballs) $(sha1s)
+
+.PHONY: downloads_clean
+
+$(tarballs):
+	@echo -e "\n======= Downloading source tarballs =======\n"
+	@for tarball in $(tarballs) ; do \
+	  wget -N $(url)/$$tarball ;  \
+	done
+
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)
diff --git a/packages/l/ieee1394/libraw1394/Makefile b/packages/l/ieee1394/libraw1394/Makefile
new file mode 100644
index 0000000..b5d8c52
--- /dev/null
+++ b/packages/l/ieee1394/libraw1394/Makefile
@@ -0,0 +1,40 @@
+#
+# Project Home:
+# ============
+# https://ieee1394.wiki.kernel.org/index.php/Main_Page
+#
+# Downloads:
+# =========
+# https://www.kernel.org/pub/linux/libs/ieee1394
+#
+
+url         = https://www.kernel.org/pub/linux/libs/ieee1394
+
+versions    = 2.1.0 2.1.1 2.1.2
+
+pkgname     = libraw1394
+suffix      = tar.xz
+
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+
+all: $(tarballs) $(sha1s)
+
+.PHONY: downloads_clean
+
+$(tarballs):
+	@echo -e "\n======= Downloading source tarballs =======\n"
+	@for tarball in $(tarballs) ; do \
+	  wget -N $(url)/$$tarball ;  \
+	done
+
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)