#!/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} && # By default, Psmisc's pidof program is not installed. This usually is # not a problem because it is installed later in the Sysvinit package, # which provides a better pidof program. cd ${LFS_TMP}/${1}-build && ../${1}/configure \ --prefix=/usr \ --exec-prefix="" && make -j ${MAKEJOBS} && make install && # There is no reason for the pstree and pstree.x11 programs to reside # in /bin. Therefore, move them to /usr/bin: mv -v /bin/pstree* /usr/bin # Return last error exit $?