(package
    (name "libjpeg-turbo")
    (version "3.1.3")
    (homepage "https://libjpeg-turbo.org/")
    (dependencies cmake nasm)
    (src (tar
        (url "https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.1.3/libjpeg-turbo-3.1.3.tar.gz")
        (dir "libjpeg-turbo-3.1.3")
        (blake3 "fbcee6fae3d00fd550af865bec1af4d363f5e1feeaf85b60247ca6db1908b10e")))
    (build
        (cmake)
        (shell "ln -sf /usr/lib/x86_64-linux-gnu/libjpeg.a /usr/lib/ || true")
        (shell "ln -sf /usr/lib/x86_64-linux-gnu/pkgconfig/libjpeg.pc /usr/lib/pkgconfig/ || true")))
