+#!/bin/bash
+
+hvconfig()
+{
+ cd ${SRC_DIR}
+
+ # The first command in this sed prevents installation of logrotate and
+ # systemd configuration files.
+ # The second command in this sed fixes buildng with BLFS “distro”.
+ sed -e "/wpath.logrotate\|wpath.systemd/d" \
+ -e "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
+ -i setup.py
+
+ rm po/*.po
+
+ python setup.py configure \
+ --no-install-kde \
+ --no-install-acpi \
+ --no-install-pmutils \
+ --no-install-init \
+ --no-install-gnome-shell-extensions
+}
+
+hvbuild()
+{
+ LANG=C python setup.py install
+}