Harmonise les bootscripts (daemon)
[hvlinux.git] / stage1 / pkg / e2fsprogs
index 159f339..df03725 100644 (file)
@@ -1,11 +1,10 @@
 #!/bin/bash
 
-hvconfigure()
+hvconfig_pre()
 {
-    cd ${LFS_TMP}/${PACKAGE}-build
+    export PKG_CONFIG=true
 
-    CC="${CC} ${CLFS_BUILDFLAGS}" PKG_CONFIG=true \
-        ../${PACKAGE}/configure \
+    CONFIGURE_OPTS="\
         --prefix=/tools \
         --enable-elf-shlibs \
         --with-linker=${LD} \
@@ -13,7 +12,12 @@ hvconfigure()
         --disable-libblkid \
         --disable-libuuid \
         --disable-fsck \
-        --disable-uuidd
+        --disable-uuidd"
+}
+
+hvconfig_post()
+{
+    unset PKG_CONFIG
 }
 
 hvbuild()
@@ -24,7 +28,10 @@ hvbuild()
 
     # Install the static libraries and headers:
     ${HVMAKE} install-libs
+}
 
+hvbuild_post()
+{
     # Create needed symlinks for a bootable system:
     LINKS="fsck.ext2 fsck.ext3 fsck.ext4 e2fsck"