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