#!/bin/sh set -o errexit # 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} cd ${LFS_TMP}/${1} # The arpd binary included in this package is dependent on Berkeley DB. # Because arpd is not a very common requirement on a base Linux system, # remove the dependency on Berkeley DB by applying the sed command below sed -i '/^TARGETS/s@arpd@@g' misc/Makefile make DESTDIR= make DESTDIR= SBINDIR=/sbin MANDIR=/usr/share/man \ DOCDIR=/usr/share/doc/${1} install exit $?