-PACKAGE=${1}
-shift
-CONFIGURE_OPTS=${*}
-
-# Applying patches (if any)
-apply_patches ${PACKAGE}
-
-hv_useradd -c "Print_Service_User" -d /dev/null -g lp -s /bin/false -u 9 lp
-
-cd ${LFS_TMP}/${PACKAGE}
-./configure
-make
-make install
-
-if [ -n "${CUPS_SERVER}" ]; then
- # Configuring for connection to a remote CUPS print server
- cat > /etc/cups/client.conf << "EOF"
+hvbuild_pre()
+{
+ if [ -n "${CUPS_SERVER}" ]; then
+ # Configuring for connection to a remote CUPS print server
+ cat > /etc/cups/client.conf << "EOF"