You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
620 B

  1. #!/bin/bash
  2. # 接收参数
  3. TARGET=$1
  4. CONFIGOPTS=$2
  5. echo -e "\n正在编译和安装 tiff图像函数库……\n"
  6. ${SHELLROOT}/utils/begin_stage tiff tiff*.tar.gz
  7. cd ${SHELLROOT}/tempDIR/`echo tiff*.tar.gz | sed 's/\*.*//'`*
  8. if ! ./configure --enable-static --disable-shared --disable-jbig $CONFIGOPTS --prefix=$TARGET ; then
  9. echo -e "\n !!! 配置 tiff图像函数库 失败,无法安装成功\n"
  10. exit 1
  11. fi
  12. sleep 2
  13. if make $MAKEOPTS && make install ; then
  14. echo -e "\n * tiff图像函数库,编译和安装成功\n"
  15. else
  16. echo -e "\n !!! tiff图像函数库,编译和安装失败\n"
  17. exit 1
  18. fi
  19. exit 0