wok-next diff libjpeg-turbo/receipt @ rev 20905
Update packages from ISO and LFS backages (all but toolchain)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 07 00:30:45 2018 +0300 (2018-08-07) |
parents | 7729bf733291 |
children | d5aab818505e |
line diff
1.1 --- a/libjpeg-turbo/receipt Tue May 01 23:19:32 2018 +0300 1.2 +++ b/libjpeg-turbo/receipt Tue Aug 07 00:30:45 2018 +0300 1.3 @@ -1,27 +1,30 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="libjpeg-turbo" 1.7 -VERSION="1.5.3" 1.8 -CATEGORY="libs" 1.9 +VERSION="2.0.0" 1.10 +CATEGORY="graphics" 1.11 SHORT_DESC="Accelerated JPEG image codec" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="MIT" 1.14 WEB_SITE="https://libjpeg-turbo.org/" 1.15 -LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libjpeg.html" 1.16 +LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libjpeg.html" 1.17 HOST_ARCH="i486 x86_64" 1.18 1.19 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.20 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.21 1.22 -BUILD_DEPENDS="nasm" 1.23 +BUILD_DEPENDS="cmake nasm" 1.24 SPLIT="jpeg-turbo libjpeg-turbo-dev" 1.25 1.26 compile_rules() { 1.27 - ./configure \ 1.28 - --with-jpeg8 \ 1.29 - --disable-static \ 1.30 - $CONFIGURE_ARGS && 1.31 - fix libtool && 1.32 + mkdir build 1.33 + cd build 1.34 + cmake \ 1.35 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.36 + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ 1.37 + -DENABLE_STATIC=FALSE \ 1.38 + -DWITH_JPEG8=TRUE \ 1.39 + .. && 1.40 make && 1.41 make install 1.42 }