Update for new BUILD_DIR and SRC_DIR variables
[hvlinux.git] / stage5 / pkg / splix
index b1d18df..1b1731d 100644 (file)
@@ -1,31 +1,9 @@
-#!/bin/sh
-set -o errexit
+#!/bin/bash
 
 # Drivers Samsung pour CUPS
 
-# First argument of this script is the package name.
-# Remaining arguments are additional configure options.
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
-
-PACKAGE=${1}
-shift
-CONFIGURE_OPTS=${*}
-
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
-
-# Applying patches (if any)
-apply_patches ${PACKAGE}
-
-cd ${LFS_TMP}/${PACKAGE}
-make DISABLE_JBIG=1
-make install
-ldconfig
-
-exit $?
+hvbuild()
+{
+    make DISABLE_JBIG=1
+    make install
+}