Update for new BUILD_DIR and SRC_DIR variables
[hvlinux.git] / stage3 / pkg / pciutils
index 1fb4ae0..9bddc02 100644 (file)
@@ -2,18 +2,19 @@
 
 hvbuild()
 {
-    cd ${LFS_TMP}/${PACKAGE}
-
     # ZLIB=no: Prevents compression of the pci.ids file.
-    make PREFIX=/usr ZLIB=no
-
-    make PREFIX=/usr install
+    make PREFIX=/usr             \
+        SHAREDIR=/usr/share/misc \
+        MANDIR=/usr/share/man    \
+        SHARED=yes               \
+        ZLIB=no                  \
+        all
 
-    # 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
 }