X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fe2fsprogs;h=1098c95e3afbb3149c990f47e2e912da3f1b2124;hb=29db7d168ced2d524076370f72a9140521b11105;hp=99f7e687297eeac8990a66704004e4e0b72e475b;hpb=3605ab38ca7604b1fe43c3bce5e4963730a85d39;p=hvlinux.git diff --git a/stage2/pkg/e2fsprogs b/stage2/pkg/e2fsprogs index 99f7e68..1098c95 100644 --- a/stage2/pkg/e2fsprogs +++ b/stage2/pkg/e2fsprogs @@ -1,20 +1,35 @@ #!/bin/bash -PKG_CONFIG=true +hvconfig_pre() +{ + export PKG_CONFIG=true + + CONFIGURE_OPTS="\ + ${CONFIGURE_OPTS} \ + --with-root-prefix=\"\" \ + --enable-elf-shlibs \ + --disable-libblkid \ + --disable-libuuid \ + --disable-fsck \ + --disable-uuidd" +} + +hvconfig_post() +{ + unset PKG_CONFIG +} -CONFIGURE_OPTS="\ - --with-root-prefix="" \ - --enable-elf-shlibs \ - --disable-libblkid \ - --disable-libuuid \ - --disable-fsck \ - --disable-uuidd \ - ${CONFIGURE_OPTS}" +hvbuild() +{ + ${HVMAKE} LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \ + LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" + ${HVMAKE} install +} hvbuild_post() { # Install the static libraries and headers: - make install-libs + ${HVMAKE} install-libs # Make the installed static libraries writable so debugging symbols can be removed later: chmod -v u+w /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a