derle.sh 450 B

12345678910111213141516
  1. cd $SRC/${isim}-version-${surum}
  2. patch -p1 < "${SRC}/jasper-1.900.1-fix-filename-buffer-overflow.patch"
  3. sed -r 's|(CMAKE_SKIP_BUILD_RPATH) FALSE|\1 TRUE|g' -i CMakeLists.txt
  4. mkdir -p build
  5. cd build
  6. cmake \
  7. -DCMAKE_INSTALL_PREFIX=/usr \
  8. -DCMAKE_INSTALL_LIBDIR=lib \
  9. -DCMAKE_BUILD_TYPE=Release \
  10. -DJAS_ENABLE_OPENGL=ON \
  11. -DJAS_ENABLE_LIBJPEG=ON \
  12. -DJAS_ENABLE_AUTOMATIC_DEPENDENCIES=OFF \
  13. -DCMAKE_SKIP_RPATH=ON \
  14. -DJAS_ENABLE_SHARED=ON ..
  15. make