-Déplacé fonction lpkg dans un fichier
[hvlinux.git] / stage1 / pkg / e2fsprogs
index 0d9f401..df03725 100644 (file)
@@ -1,11 +1,10 @@
 #!/bin/bash
 
-hvconfig()
+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 @@ hvconfig()
         --disable-libblkid \
         --disable-libuuid \
         --disable-fsck \
-        --disable-uuidd
+        --disable-uuidd"
+}
+
+hvconfig_post()
+{
+    unset PKG_CONFIG
 }
 
 hvbuild()