Juergen Daubert
12779a6513
includes the security fix for CVE-2020-13790, see https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/2.0.5
21 lines
542 B
Plaintext
21 lines
542 B
Plaintext
# Description: Library of JPEG support functions.
|
|
# URL: https://www.libjpeg-turbo.org/
|
|
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
|
|
# Depends on: cmake, nasm
|
|
|
|
name=libjpeg-turbo
|
|
version=2.0.5
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-$version.tar.gz)
|
|
|
|
build() {
|
|
cmake -S $name-$version -B build \
|
|
-G"Unix Makefiles" \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
-DWITH_JPEG8=ON
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
rm -r $PKG/usr/share/doc
|
|
}
|