#!/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} && # Many screen fonts don't have Unicode single quotes and dashes in # them. Tell Groff to use the ASCII equivalents instead: sed -i -e 's/2010/002D/' -e 's/2212/002D/' \ -e 's/2018/0060/' -e 's/2019/0027/' font/devutf8/R.proto && PAGE=letter ./configure \ --prefix=/usr \ --enable-multibyte && # Groff does not like to be made in parallel. make && make install && # Some documentation programs, such as xman, will not work properly without # the following symlinks: ln -fsv eqn /usr/bin/geqn && ln -fsv tbl /usr/bin/gtbl # Return last error exit $?