Blame docker-builder-data/build/script/packet/superlu-4.3.sh

e14835
DEPS="blas-3.6.0"
e14835
e14835
PK_DIRNAME="SuperLU_4.3"
e14835
PK_ARCHIVE="superlu_4.3.tar.gz"
e14835
PK_URL="http://crd-legacy.lbl.gov/~xiaoye/SuperLU/$PK_ARCHIVE"
e14835
e14835
source $INCLUDE_SCRIPT_DIR/inc-pkallunpack-default.sh
e14835
source $INCLUDE_SCRIPT_DIR/inc-pkinstall_release-default.sh
e14835
e14835
pkbuild() {
e14835
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME"
e14835
	
d32e1c
	if ! (cp --remove-destination "$FILES_PACKET_DIR/mc64ad.c" "$BUILD_PACKET_DIR/$PK_DIRNAME/SRC/" \
d32e1c
	 && cp --remove-destination "$FILES_PACKET_DIR/make.inc" "$BUILD_PACKET_DIR/$PK_DIRNAME/"); then
e14835
		return 1
e14835
	fi
e14835
e14835
	if ( ! HOME=$BUILD_PACKET_DIR make); then
e14835
		return 1
e14835
	fi
e14835
}
e14835
e14835
pkinstall() {
7bd1ae
	if ! cp --remove-destination -r "$BUILD_PACKET_DIR/$PK_DIRNAME/lib" "$INSTALL_PACKET_DIR"; then
e14835
		return 1
e14835
	fi
e14835
}