#!/bin/sh # First argument of this script is the package name. # Reading system configuration informations, functions and package versions. source ../sysinfos source ../functions source ../packages-list # Applying patches (if any) apply_patches ${1} && # For packages that don't compile well from a separate build directory. cd ${LFS_TMP}/${1} && ./configure \ --prefix=/usr \ --sysconfdir=/etc && make && make install && ldconfig && mkdir -v -p /srv/tftpboot && # Addition to /etc/inetd.conf string_add "tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /srv/tftpboot" /etc/inetd.conf # Return last error exit $?