Blame docker-builder-data/build/script/packet/blas-3.7.0.sh

6675b2
DEPS=""
6675b2
6675b2
PK_DIRNAME="BLAS-3.7.0"
6675b2
PK_ARCHIVE="blas-3.7.0.tgz"
6675b2
PK_URL="http://www.netlib.org/blas/$PK_ARCHIVE"
6675b2
6675b2
source $INCLUDE_SCRIPT_DIR/inc-pkallunpack-default.sh
6675b2
source $INCLUDE_SCRIPT_DIR/inc-pkinstall_release-default.sh
6675b2
6675b2
pkbuild() {
6675b2
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME"
6675b2
	if ! make; then
6675b2
		return 1
6675b2
	fi
6675b2
}
6675b2
6675b2
pkinstall() {
6675b2
	mkdir -p "$INSTALL_PACKET_DIR/lib"
6675b2
	if ! cp --remove-destination -r "$BUILD_PACKET_DIR/$PK_DIRNAME/blas_LINUX.a" "$INSTALL_PACKET_DIR/lib/libblas.a"; then
6675b2
		return 1
6675b2
	fi
6675b2
}