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
|
2017-07-15 21:22:30 +10:00
|
|
|
version=1.5.2
|
2016-02-14 19:43:29 +11:00
|
|
|
release=1
|
2017-07-15 21:22:30 +10:00
|
|
|
source=(https://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-$version.tar.gz)
|
2014-02-17 00:36:00 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd libjpeg-turbo-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--with-jpeg8 \
|
|
|
|
--host=i686-pc-linux-gnu
|
|
|
|
|
|
|
|
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
|
|
|
}
|