diff --git a/docker-builder-data/build/script/packet/opentoonz-master.sh b/docker-builder-data/build/script/packet/opentoonz-master.sh index a7ec01f..1123e33 100644 --- a/docker-builder-data/build/script/packet/opentoonz-master.sh +++ b/docker-builder-data/build/script/packet/opentoonz-master.sh @@ -28,9 +28,8 @@ pkbuild() { set_done $NAME build.libtiff fi - if ! cp --remove-destination "$ENVDEPS_PACKET_DIR/lib/libsuperlu_4.3.a" "$BUILD_PACKET_DIR/$PK_DIRNAME/thirdparty/superlu/libsuperlu_4.1.a"; then - return 1 - fi + cp --remove-destination "$ENVDEPS_PACKET_DIR/lib/libsuperlu_4.3.a" "$BUILD_PACKET_DIR/$PK_DIRNAME/thirdparty/superlu/libsuperlu_4.1.a" || return 1 + cp --remove-destination $ENVDEPS_PACKET_DIR/include/superlu-4.3/* "$BUILD_PACKET_DIR/$PK_DIRNAME/thirdparty/superlu/SuperLU_4.1/include/" || return 1 mkdir -p "$BUILD_PACKET_DIR/$PK_DIRNAME/toonz/build" cd "$BUILD_PACKET_DIR/$PK_DIRNAME/toonz/build" diff --git a/docker-builder-data/build/script/packet/superlu-4.3.sh b/docker-builder-data/build/script/packet/superlu-4.3.sh index 4e4687e..42cff8e 100644 --- a/docker-builder-data/build/script/packet/superlu-4.3.sh +++ b/docker-builder-data/build/script/packet/superlu-4.3.sh @@ -21,7 +21,7 @@ pkbuild() { } pkinstall() { - if ! cp --remove-destination -r "$BUILD_PACKET_DIR/$PK_DIRNAME/lib" "$INSTALL_PACKET_DIR"; then - return 1 - fi + cp --remove-destination -r "$BUILD_PACKET_DIR/$PK_DIRNAME/lib" "$INSTALL_PACKET_DIR" || return 1 + mkdir -p "$INSTALL_PACKET_DIR/include/superlu-4.3" + cp --remove-destination $BUILD_PACKET_DIR/$PK_DIRNAME/SRC/*.h "$INSTALL_PACKET_DIR/include/superlu-4.3" || return 1 }