#!/bin/bash hvconfig_pre() { export PKG_CONFIG=true CONFIGURE_OPTS+=" \ --with-root-prefix=\"\" \ --enable-elf-shlibs \ --disable-libblkid \ --disable-libuuid \ --disable-fsck \ --disable-uuidd" } hvconfig_post() { unset PKG_CONFIG } hvbuild() { ${HVMAKE} LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \ LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" ${HVMAKE} install } hvbuild_post() { # Install the static libraries and headers: ${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 }