

set -ex



test -f ${PREFIX}/include/jpeglib.h
test -f ${PREFIX}/include/turbojpeg.h
test -f ${PREFIX}/lib/libjpeg${SHLIB_EXT}
test -f ${PREFIX}/lib/libjpeg.8${SHLIB_EXT}
test -f ${PREFIX}/lib/libturbojpeg${SHLIB_EXT}
test -f ${PREFIX}/lib/libjpeg.a
test -f ${PREFIX}/lib/libturbojpeg.a
test -f ${PREFIX}/lib/pkgconfig/libjpeg.pc
test -f ${PREFIX}/lib/pkgconfig/libturbojpeg.pc
djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
exit 0
