#!/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} && # Temporary: custom script needed to regenerate configure with # patch that modifies configure.in... cd ${LFS_TMP}/${1} && ./autogen.sh && ./configure \ --prefix=/usr \ --sysconfdir=/etc && make && make install && ldconfig # Return last error exit $?