Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
   176         kx 
   176         kx COMPONENT_TARGETS = $(HARDWARE_NOARCH)
   176         kx 
   176         kx 
   176         kx include ../../../../build-system/constants.mk
   176         kx 
   176         kx 
   176         kx url         = $(DOWNLOAD_SERVER)/sources/packages/x/libreoffice
   176         kx 
   371         kx versions    = 24.2.0.3 7.6.2.1
   176         kx pkgname     = libreoffice
   176         kx suffix      = tar.xz
   176         kx 
   176         kx tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
   176         kx tarballs   += $(foreach add, dictionaries help translations, $(addsuffix .$(suffix), $(addprefix $(pkgname)-$(add)-, $(versions))))
   176         kx sha1s       = $(addsuffix .sha1sum, $(tarballs))
   176         kx 
   371         kx patches     = $(CURDIR)/patches/libreoffice-24.2.0.3-isystem.patch
   371         kx patches    += $(CURDIR)/patches/libreoffice-24.2.0.3-odk-idl.patch
   371         kx 
   371         kx patches    += $(CURDIR)/patches/libreoffice-7.6.2.1-isystem.patch
   176         kx patches    += $(CURDIR)/patches/libreoffice-7.6.2.1-odk-idl.patch
   176         kx 
   176         kx .NOTPARALLEL: $(patches)
   176         kx 
   176         kx 
   176         kx BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
   176         kx 
   176         kx 
   176         kx include ../../../../build-system/core.mk
   176         kx 
   176         kx 
   176         kx .PHONY: download_clean
   176         kx 
   176         kx 
   176         kx $(tarballs):
   176         kx 	@echo -e "\n======= Downloading source tarballs =======" ; \
   176         kx 	 for tarball in $(tarballs) ; do \
   176         kx 	   echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
   176         kx 	 done ; wait
   176         kx 
   176         kx $(sha1s): $(tarballs)
   176         kx 	@for sha in $@ ; do \
   176         kx 	   echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
   176         kx 	   echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
   176         kx 	   touch $$sha ; \
   176         kx 	   echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
   176         kx 	   sha1sum --check $$sha ; ret="$$?" ; \
   176         kx 	   if [ "$$ret" == "1" ]; then \
   176         kx 	     echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
   176         kx 	     exit 1 ; \
   176         kx 	   fi ; \
   176         kx 	 done
   176         kx 
   176         kx $(patches): $(sha1s)
   176         kx 	@echo -e "\n======= Create Patches =======\n" ; \
   371         kx 	 ( cd create-24.2.0.3-isystem-patch ; ./create.patch.sh ) ; \
   371         kx 	 ( cd create-24.2.0.3-odk-idl-patch ; ./create.patch.sh ) ; \
   371         kx 	 ( cd create-7.6.2.1-isystem-patch  ; ./create.patch.sh ) ; \
   371         kx 	 ( cd create-7.6.2.1-odk-idl-patch  ; ./create.patch.sh ) ; \
   176         kx 	 echo -e "\n"
   176         kx 
   176         kx download_clean:
   176         kx 	@rm -f $(tarballs) $(sha1s) $(patches)