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
    93         kx 
    93         kx COMPONENT_TARGETS = $(HARDWARE_NOARCH)
    93         kx 
    93         kx 
    93         kx include ../../../../build-system/constants.mk
    93         kx 
    93         kx 
    93         kx url         = $(DOWNLOAD_SERVER)/sources/packages/a/hplip
    93         kx 
    93         kx versions    = 3.23.3
    93         kx pkgname     = hplip
    93         kx suffix      = tar.gz
    93         kx 
    93         kx tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
    93         kx sha1s       = $(addsuffix .sha1sum, $(tarballs))
    93         kx 
    93         kx patches     = $(CURDIR)/patches/hplip-3.23.3-configure.patch
    93         kx patches    += $(CURDIR)/patches/hplip-3.23.3-dat2drv.patch
    93         kx patches    += $(CURDIR)/patches/hplip-3.23.3-include-cups-ppd.patch
    93         kx patches    += $(CURDIR)/patches/hplip-3.23.3-lc-all-c.patch
    93         kx patches    += $(CURDIR)/patches/hplip-3.23.3-no-upgrade.patch
    93         kx patches    += $(CURDIR)/patches/hplip-3.23.3-python3-shebang.patch
    93         kx patches    += $(CURDIR)/patches/hplip-3.23.3-remove-imageprocessor.patch
   100         kx patches    += $(CURDIR)/patches/hplip-3.23.3-ui5-devmgr-ext.patch
    93         kx 
    93         kx .NOTPARALLEL: $(patches)
    93         kx 
    93         kx 
    93         kx BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
    93         kx 
    93         kx 
    93         kx include ../../../../build-system/core.mk
    93         kx 
    93         kx 
    93         kx .PHONY: download_clean
    93         kx 
    93         kx 
    93         kx $(tarballs):
    93         kx 	@echo -e "\n======= Downloading source tarballs =======" ; \
    93         kx 	 for tarball in $(tarballs) ; do \
    93         kx 	   echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
    93         kx 	 done ; wait
    93         kx 
    93         kx $(sha1s): $(tarballs)
    93         kx 	@for sha in $@ ; do \
    93         kx 	   echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
    93         kx 	   echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
    93         kx 	   touch $$sha ; \
    93         kx 	   echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
    93         kx 	   sha1sum --check $$sha ; ret="$$?" ; \
    93         kx 	   if [ "$$ret" == "1" ]; then \
    93         kx 	     echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
    93         kx 	     exit 1 ; \
    93         kx 	   fi ; \
    93         kx 	 done
    93         kx 
    93         kx $(patches): $(sha1s)
    93         kx 	@echo -e "\n======= Create Patches =======\n" ; \
    93         kx 	 ( cd create-3.23.3-configure-patch             ; ./create.patch.sh ) ; \
    93         kx 	 ( cd create-3.23.3-dat2drv-patch               ; ./create.patch.sh ) ; \
    93         kx 	 ( cd create-3.23.3-include-cups-ppd-patch      ; ./create.patch.sh ) ; \
    93         kx 	 ( cd create-3.23.3-lc-all-c-patch              ; ./create.patch.sh ) ; \
    93         kx 	 ( cd create-3.23.3-no-upgrade-patch            ; ./create.patch.sh ) ; \
    93         kx 	 ( cd create-3.23.3-python3-shebang-patch       ; ./create.patch.sh ) ; \
    93         kx 	 ( cd create-3.23.3-remove-imageprocessor-patch ; ./create.patch.sh ) ; \
   100         kx 	 ( cd create-3.23.3-ui5-devmgr-ext-patch        ; ./create.patch.sh ) ; \
    93         kx 	 echo -e "\n"
    93         kx 
    93         kx download_clean:
    93         kx 	@rm -f $(tarballs) $(sha1s) $(patches)