#!/usr/bin/env modbuild pbuild::prep(){ : } pbuild::pre_configure() { echo "${PMODULES_TMPDIR}" echo "${SRC_DIR}" # copy code from BUILD Dir into SRCDIR . wget does not work , because login credentials required for download (wget --user did not work) cp -r "${BUILDBLOCK_DIR}/phenix-installer-${V}-intel-linux-2.6-x86_64-centos6/"* "${SRC_DIR}" } pbuild::compile() { : } pbuild::install() { cd "${SRC_DIR}" ./install --prefix="${PREFIX}" }