URL_TUE = ftp://ftp.win.tue.nl/pub
URL_LFS_FTP = http://ftp.at.linuxfromscratch.org/pub/lfs/lfs-packages/5.1.1
URL_LFS = http://www.linuxfromscratch.org/patches/downloads
-URL_SFNET = http://switch.dl.sourceforge.net/sourceforge
+URL_SFNET = http://kent.dl.sourceforge.net/sourceforge
+URL_IPFIRE = http://mirror.ipfire.org/source
+URL_IPCOP = http://ipcop.ath.cx
# Default compiler optimizations.
#
#
DIR_DL = $(LFS_BASEDIR)/cache
DIR_CHK = $(LFS_BASEDIR)/cache/check
+DIR_CONF = $(LFS_BASEDIR)/config
DIR_INFO = $(LFS_BASEDIR)/log
-DIR_TMP = /tmp
+DIR_TMP = /var/tmp
KGCC = ccache /usr/bin/gcc
define LOAD
@echo -e "$(MESSAGE)Download: $($(notdir $@))"
- wget -T 120 -t 1 -c -nv $($(notdir $@)) -O $(DIR_TMP)/$(notdir $@)
+ wget -T 60 -t 1 -c -nv $($(notdir $@)) -O $(DIR_TMP)/$(notdir $@)
[ "$($(notdir $@)_MD5)" = `md5sum $(DIR_TMP)/$(notdir $@) | awk '{ print $$1 }'` ] # detect page not found answer
mv $(DIR_TMP)/$(notdir $@) $(DIR_DL)
endef
[ "$($@_MD5)" = `md5sum $(DIR_DL)/$@ | awk '{ print $$1 }'` ]
echo "$@ checksum OK"
endef
+
+define PAK
+ /usr/local/bin/packager $(PROG) $(VER) $(PAK_VER)
+endef