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
Index: Makefile
===================================================================
--- Makefile	(revision 28)
+++ Makefile	(revision 29)
@@ -33,13 +33,23 @@
 $(tarballs):
 	@echo -e "\n======= Downloading source tarballs =======" ; \
 	 for tarball in $(tarballs) ; do \
-	   echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
+	   if `echo "$$tarball" | grep -q 'patch'` ; then \
+	     url=$(url)/maildir-patch ; \
+	   else \
+	     url=$(url)/alpine ; \
+	   fi ; \
+	   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 ; \
+	   if `echo "$$sha" | grep -q 'patch'` ; then \
+	     url=$(url)/maildir-patch ; \
+	   else \
+	     url=$(url)/alpine ; \
+	   fi ; \
+	   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="$$?" ; \