24 lines
562 B
Plaintext
24 lines
562 B
Plaintext
# Description: Library of JPEG support functions.
|
|
# URL: http://www.libjpeg-turbo.org/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: libjpeg-turbo
|
|
|
|
name=libjpeg-turbo-32
|
|
version=2.0.1
|
|
release=1
|
|
source=(https://downloads.sourceforge.net/project/${name%-*}/$version/${name%-*}-$version.tar.gz)
|
|
|
|
build() {
|
|
cd ${name%-*}-$version
|
|
|
|
cmake -G"Unix Makefiles" \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib32 \
|
|
-DWITH_JPEG8=ON
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{bin,include,share/man,share}
|
|
}
|