Update for new BUILD_DIR and SRC_DIR variables
[hvlinux.git] / stage5 / pkg / boost
index cb215ad..4172c0d 100644 (file)
@@ -1,23 +1,8 @@
-#!/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()
+{
+    ./bootstrap.sh --prefix=/usr
+    ./b2 stage threading=multi link=shared
+    ./b2 install threading=multi link=shared
+}