#!/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} && cd ${LFS_TMP}/${1} && ./config \ --openssldir=/etc/ssl \ --prefix=/usr shared && # Install the man pages in /usr/share/man instead of the default # which is /etc/ssl/man make -j ${MAKEJOBS} MANDIR=/usr/share/man && make -j ${MAKEJOBS} MANDIR=/usr/share/man install && cp -v -r certs /etc/ssl # Return last error exit $?