-Amélioré fonctions de download des packages
[hvlinux.git] / stage5 / pkg / boost
index cb215ad..d8efd98 100644 (file)
@@ -1,23 +1,9 @@
-#!/bin/sh
-set -o errexit
-
-# 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}
-
-# Applying patches (if any)
-apply_patches ${PACKAGE}
-
-cd ${LFS_TMP}/${PACKAGE}
-./bootstrap.sh
-./bjam --prefix=/usr
-./bjam install
-ldconfig
-
-exit $?
+#!/bin/bash
+
+hvbuild()
+{
+    cd ${LFS_TMP}/${PACKAGE}
+    ./bootstrap.sh
+    ./bjam --prefix=/usr
+    ./bjam install
+}