cd ${LFS_TMP}/${PACKAGE}
# ZLIB=no: Prevents compression of the pci.ids file.
- make PREFIX=/usr ZLIB=no
+ make PREFIX=/usr \
+ SHAREDIR=/usr/share/misc \
+ MANDIR=/usr/share/man \
+ SHARED=yes \
+ ZLIB=no \
+ all
- make PREFIX=/usr install
-
- # Some packages require the PCI static library:
- make PREFIX=/usr install-lib
-}
-
-hvbuild_post()
-{
- install -v -m644 ${SCRDIR}/misc/update-pciids /etc/fcron/fcron.d
+ # install-lib: for packages that require the PCI static library
+ make PREFIX=/usr \
+ SHAREDIR=/usr/share/misc \
+ MANDIR=/usr/share/man \
+ SHARED=yes \
+ ZLIB=no \
+ install install-lib
}