install_tiff_linux.sh 897 B

1234567891011121314151617181920212223242526
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. OUT_PATH=$TARGET_INSTALL_ROOT
  9. SRC_PATH=temp/src
  10. BLD_PATH=temp/build
  11. # these can fail if they are already there and we're working incrementally, this is okay
  12. # if they fail completely, the below checks will error anyway
  13. mkdir -p $OUT_PATH
  14. mkdir -p $OUT_PATH/lib
  15. mkdir -p $OUT_PATH/include
  16. cp -f $SRC_PATH/COPYRIGHT $OUT_PATH/ || exit 1
  17. cp $BLD_PATH/libtiff/libtiff.a $OUT_PATH/lib/libtiff.a || exit 1
  18. cp $BLD_PATH/libtiff/tiffconf.h $OUT_PATH/include/tiffconf.h || exit 1
  19. cp $SRC_PATH/libtiff/tiff.h $OUT_PATH/include/tiff.h || exit 1
  20. cp $SRC_PATH/libtiff/tiffvers.h $OUT_PATH/include/tiffvers.h || exit 1
  21. cp $SRC_PATH/libtiff/tiffio.h $OUT_PATH/include/tiffio.h || exit 1
  22. exit 0