Ajout msmtp et fichiers de configuration de mutt.
[hvlinux.git] / stage3 / pkg / usbutils
index c20f9b0..4793705 100644 (file)
@@ -2,6 +2,9 @@
 
 hvconfig_pre()
 {
+    cd ${LFS_TMP}/${PACKAGE}
+    ./autogen.sh
+    make distclean
     CONFIGURE_OPTS="\
         ${CONFIGURE_OPTS} \
         --disable-zlib"
@@ -9,12 +12,5 @@ hvconfig_pre()
 
 hvbuild_post()
 {
-    install -v -m755 update-usbids.sh /usr/sbin/update-usbids
-
-    # Addition to /etc/fcron/fcrontab
-    #string_add "# Run update-usbids every day" /etc/fcron/fcrontab
-    #string_add "&mail(false) * 3 * * * /usr/sbin/update-usbids" /etc/fcron/fcrontab
-
-    # Update database
-    /usr/sbin/update-usbids
+    install -v -m644 ${SCRDIR}/misc/update-usbids /etc/fcron/fcron.d
 }