Radix cross Linux Build System

Cross-platform build system is designed to build distributions of different operating systems for a set of target devices

71 Commits   2 Branches   2 Tags
Index: build-system-1.11.x/3pp/app/scdoc/1.11.3/Makefile
===================================================================
--- build-system-1.11.x/3pp/app/scdoc/1.11.3/Makefile	(nonexistent)
+++ build-system-1.11.x/3pp/app/scdoc/1.11.3/Makefile	(revision 71)
@@ -0,0 +1,55 @@
+
+COMPONENT_TARGETS = $(HARDWARE_BUILD)
+
+include ../../../../../build-system/constants.mk
+
+SOURCE_REQUIRES = build-system/3pp/sources/packages/scdoc
+
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version         = 1.11.3
+tar_xz_archive  = $(BUILDSYSTEM)/3pp/sources/packages/scdoc/scdoc-$(version).tar.xz
+src_dir         = scdoc-$(version)
+build_dir       = $(TARGET_BUILD_DIR)/built
+
+src_done        = $(TARGET_BUILD_DIR)/.source-done
+SRC_DIR         = $(TARGET_BUILD_DIR)/scdoc-$(version)
+SRC_ARCHIVE     = $(tar_xz_archive)
+
+PATCHES = PATCHES
+
+build_target    = $(TARGET_BUILD_DIR)/.built
+install_target  = $(TARGET_BUILD_DIR)/.installed
+
+BUILD_TARGETS   = $(build_target)
+BUILD_TARGETS  += $(install_target)
+
+
+include ../../../../../build-system/core.mk
+
+
+environment     = PREFIX=$(BUILDSYSTEM)/usr
+
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   $(MAKE) $(environment) ; \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@echo -e "\n======= Installing SCDOC binary =======\n"
+	@( cd $(SRC_DIR) ; \
+	   $(MAKE) $(environment) install ; \
+	 )
+	@echo -e "\n======= Setup SCDOC build-system variable =======\n"
+	@mkdir -p $(BUILDSYSTEM)/sbin && \
+	  echo "SCDOC              := $(BUILDSYSTEM)/usr/bin/scdoc" >> $(BUILDSYSTEM)/sbin/.config
+	@touch $@
Index: build-system-1.11.x/3pp/app/scdoc/1.11.3/PATCHES
===================================================================
Index: build-system-1.11.x/3pp/app/scdoc/1.11.3
===================================================================
--- build-system-1.11.x/3pp/app/scdoc/1.11.3	(nonexistent)
+++ build-system-1.11.x/3pp/app/scdoc/1.11.3	(revision 71)

Property changes on: build-system-1.11.x/3pp/app/scdoc/1.11.3
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,55 ##
+
+# local config & object files
+build-config.mk
+sbin
+usr
+var
+
+# configure targets
+autom4te.cache
+.config
+config.log
+config.status
+configure
+
+# cpan configure targets
+.installed
+CPAN-Config.pm
+CPAN-install
+
+# Target build dirs
+.build-machine
+.build-llvm
+.build-rust
+
+# Timestamps
+.makefile
+.llvm
+.rust
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Object Files
+*.[ao]
+
+# backup copies
+*~
Index: build-system-1.11.x/3pp/sources/packages/scdoc/Makefile
===================================================================
--- build-system-1.11.x/3pp/sources/packages/scdoc/Makefile	(nonexistent)
+++ build-system-1.11.x/3pp/sources/packages/scdoc/Makefile	(revision 71)
@@ -0,0 +1,48 @@
+
+COMPONENT_TARGETS = $(HARDWARE_NOARCH)
+
+
+include ../../../../../build-system/constants.mk
+
+
+url         = $(DOWNLOAD_SERVER)/sources/packages/a/scdoc
+
+
+versions    = 1.11.3
+pkgname     = scdoc
+suffix      = tar.xz
+
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+
+BUILD_TARGETS = $(tarballs) $(sha1s)
+
+
+include ../../../../../build-system/core.mk
+
+
+.PHONY: download_clean
+
+
+$(tarballs):
+	@echo -e "\n======= Downloading source tarballs =======\n" ; \
+	 for tarball in $(tarballs) ; do \
+	   echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
+	 done ; wait
+
+$(sha1s): $(tarballs)
+	@for sha in $@ ; do \
+	   echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
+	   echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
+	   touch $$sha ; \
+	   echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
+	   sha1sum --check $$sha ; ret="$$?" ; \
+	   if [ "$$ret" == "1" ]; then \
+	     echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
+	     exit 1 ; \
+	   fi ; \
+	 done
+
+download_clean:
+	@rm -f $(tarballs) $(sha1s)
Index: build-system-1.11.x/3pp/sources/packages/scdoc
===================================================================
--- build-system-1.11.x/3pp/sources/packages/scdoc	(nonexistent)
+++ build-system-1.11.x/3pp/sources/packages/scdoc	(revision 71)

Property changes on: build-system-1.11.x/3pp/sources/packages/scdoc
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,55 ##
+
+# local config & object files
+build-config.mk
+sbin
+usr
+var
+
+# configure targets
+autom4te.cache
+.config
+config.log
+config.status
+configure
+
+# cpan configure targets
+.installed
+CPAN-Config.pm
+CPAN-install
+
+# Target build dirs
+.build-machine
+.build-llvm
+.build-rust
+
+# Timestamps
+.makefile
+.llvm
+.rust
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Object Files
+*.[ao]
+
+# backup copies
+*~
Index: build-system-1.11.x/Makefile
===================================================================
--- build-system-1.11.x/Makefile	(revision 70)
+++ build-system-1.11.x/Makefile	(revision 71)
@@ -8,6 +8,7 @@
 REQUIRES += build-system/3pp/app/genext2fs/1.4.1
 REQUIRES += build-system/3pp/app/populatefs/1.1
 REQUIRES += build-system/3pp/app/jsmin/0.0.1
+REQUIRES += build-system/3pp/app/scdoc/1.11.3
 REQUIRES += build-system/3pp/app/fakeroot/1.31
 REQUIRES += build-system/3pp/app/python3-modules/pip/24.2
 REQUIRES += build-system/3pp/app/perl/5.40.0