#!/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} ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --sbindir=/sbin \ --with-rootlibdir=/lib \ --libexecdir=/lib/udev \ --docdir=/usr/share/doc/${1} \ --disable-extras \ --disable-introspection make make install # Udev has to be configured in order to work properly, as its default # configuration does not cover all devices. First install two extra # rules files from Udev to help support device-mapper and RAID setups: install -m644 -v rules/packages/64-*.rules \ /lib/udev/rules.d/ # Now install a file to create symlinks for certain hand-held devices: install -m644 -v rules/packages/40-pilot-links.rules \ /lib/udev/rules.d/ # Now install a file to handle ISDN devices: install -m644 -v rules/packages/40-isdn.rules \ /lib/udev/rules.d/ ldconfig exit $?