2014-02-17 00:36:00 +11:00
|
|
|
# Description: Library of JPEG support functions.
|
|
|
|
# URL: http://www.libjpeg-turbo.org/
|
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2014-02-17 00:46:48 +11:00
|
|
|
# Depends on: libjpeg-turbo
|
2014-02-17 00:36:00 +11:00
|
|
|
|
|
|
|
name=libjpeg-turbo-32
|
2019-01-28 14:25:27 +11:00
|
|
|
version=2.0.1
|
2016-02-14 19:43:29 +11:00
|
|
|
release=1
|
2019-04-14 21:25:40 +10:00
|
|
|
source=(https://downloads.sourceforge.net/project/${name%-*}/$version/${name%-*}-$version.tar.gz)
|
2014-02-17 00:36:00 +11:00
|
|
|
|
|
|
|
build() {
|
2019-01-28 14:25:27 +11:00
|
|
|
cd ${name%-*}-$version
|
2014-02-17 00:36:00 +11:00
|
|
|
|
2019-01-28 14:25:27 +11:00
|
|
|
cmake -G"Unix Makefiles" \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib32 \
|
|
|
|
-DWITH_JPEG8=ON
|
2014-02-17 00:36:00 +11:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2016-07-13 12:31:46 +10:00
|
|
|
rm -r $PKG/usr/{bin,include,share/man,share}
|
2014-02-17 00:36:00 +11:00
|
|
|
}
|