Added pxelinux to the tftpboot directory.
[people/pmueller/ipfire-2.x.git] / lfs / tftp-hpa
index 62df0524db0456d8827fe479af72923fbac5ffd4..16c815ad07813160fd0853cd6dc08e06c4c93f25 100644 (file)
 
 include Config
 
-VER        = 0.42
+VER        = 0.48
 
 THISAPP    = tftp-hpa-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
+DL_FILE    = $(THISAPP).tar.bz2
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = tftp-hpa
 PAK_VER    = 1
 
-DESCDE     = "Ein tftp-Server."
-DESCEN     = "A tftp server."
 DEPS       = ""
 
 ###############################################################################
@@ -46,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 98ecf77f8558b4f562794f71e29fed86
+$(DL_FILE)_MD5 = f2e0a1ca0c49ae46ecad26a54df3e887
 
 install : $(TARGET)
 
@@ -78,10 +76,12 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && ./configure --without-tcpwrappers
-       cd $(DIR_APP) && make
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && ./configure --prefix=/usr --without-tcpwrappers
+       cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
-       -mkdir /var/log/tftpboot
+       mv -fv /usr/sbin/in.tftpd /usr/sbin/tftpd
+       -mkdir -pv /var/tftpboot/pxelinux.cfg
+       cp -vf usr/lib/syslinux/pxelinux.0 /var/tftpboot
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)