wok-next view libjpeg-turbo/receipt @ rev 21152

Update lua-socket, prosody, luajit.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 31 10:34:36 2019 +0200 (2019-01-31)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libjpeg-turbo"
4 VERSION="2.0.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Accelerated JPEG image codec"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://libjpeg-turbo.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libjpeg.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 TARBALL_SHA1="7ea4a288bccbb5a2d5bfad5fb328d4a839853f4e"
16 BUILD_DEPENDS="cmake nasm"
17 SPLIT="jpeg-turbo $PACKAGE-dev"
19 COPY_std="*.so*"
20 COPY_jpeg_turbo="bin/"
22 DEPENDS_jpeg_turbo="$PACKAGE"
24 CAT_jpeg_turbo="graphics|programs"
26 TAGS_std="JPEG"
27 PROVIDE_std="libjpeg"
29 compile_rules() {
30 mkdir build
31 cd build
32 cmake \
33 -DCMAKE_INSTALL_PREFIX=/usr \
34 -DCMAKE_BUILD_TYPE=RELEASE \
35 -DENABLE_STATIC=FALSE \
36 -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/$PACKAGE-$VERSION \
37 -DCMAKE_INSTALL_DEFAULT_LIBDIR=lib \
38 -DWITH_JPEG8=TRUE \
39 .. &&
40 make &&
41 make install
42 }