-#!/bin/bash
-
-hvbuild()
-{
- cd ${LFS_TMP}/${PACKAGE}
- cp makefiles/makefile.linux Makefile
-
- case "${HVL_TARGET}" in
- "x86_64")
- # -fPIC is required for x86_64
- sed -i -e "s!^CFLAGS=!CFLAGS=-fPIC !" Makefile
- ;;
- esac
-
- make prefix=/usr install
-
- # The documentation files are not installed by the installation procedure,
- # so they are copied manually.
- install -v -m644 doc/man/*.3 /usr/share/man/man3
- install -v -m644 doc/man/*.5 /usr/share/man/man5
- install -v -m755 -d /usr/share/doc/${PACKAGE}
- install -v -m644 doc/*.{png,txt} /usr/share/doc/${PACKAGE}
-}