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
    85         kx 
    85         kx COMPONENT_TARGETS = $(HARDWARE_NOARCH)
    85         kx 
    85         kx 
    85         kx include ../../../../build-system/constants.mk
    85         kx 
    85         kx 
    85         kx url         = $(DOWNLOAD_SERVER)/sources/packages/x/libportal
    85         kx 
    85         kx versions    = 0.6
    85         kx pkgname     = libportal
    85         kx suffix      = tar.xz
    85         kx 
    85         kx tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
    85         kx sha1s       = $(addsuffix .sha1sum, $(tarballs))
    85         kx 
    90         kx patches     = $(CURDIR)/patches/libportal-0.6-dbus-connection.patch
    85         kx 
    90         kx .NOTPARALLEL: $(patches)
    85         kx 
    85         kx 
    90         kx BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
    90         kx 
    90         kx 
    85         kx include ../../../../build-system/core.mk
    85         kx 
    85         kx 
    85         kx .PHONY: download_clean
    85         kx 
    85         kx 
    85         kx $(tarballs):
    85         kx 	@echo -e "\n======= Downloading source tarballs =======" ; \
    85         kx 	 for tarball in $(tarballs) ; do \
    85         kx 	   echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
    85         kx 	 done ; wait
    85         kx 
    85         kx $(sha1s): $(tarballs)
    85         kx 	@for sha in $@ ; do \
    85         kx 	   echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
    85         kx 	   echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
    85         kx 	   touch $$sha ; \
    85         kx 	   echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
    85         kx 	   sha1sum --check $$sha ; ret="$$?" ; \
    85         kx 	   if [ "$$ret" == "1" ]; then \
    85         kx 	     echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
    85         kx 	     exit 1 ; \
    85         kx 	   fi ; \
    85         kx 	 done
    85         kx 
    90         kx $(patches): $(sha1s)
    90         kx 	@echo -e "\n======= Create Patches =======\n" ; \
    90         kx 	 ( cd create-0.6-dbus-connection-patch ; ./create.patch.sh ) ; \
    90         kx 	 echo -e "\n"
    90         kx 
    85         kx download_clean:
    90         kx 	@rm -f $(tarballs) $(sha1s) $(patches)