wok diff jpeg-turbo/receipt @ rev 23268
updated osip and osip-dev (5.1.0 -> 5.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 28 10:41:34 2020 +0100 (2020-03-28) |
parents | 89ac50e7e4b0 |
children | ba7cbdb5749c |
line diff
1.1 --- a/jpeg-turbo/receipt Sat Aug 20 03:35:47 2016 +0200 1.2 +++ b/jpeg-turbo/receipt Sat Mar 28 10:41:34 2020 +0100 1.3 @@ -1,25 +1,32 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="jpeg-turbo" 1.7 -SOURCE="libjpeg-turbo" 1.8 -VERSION="1.4.2" 1.9 +VERSION="2.0.4" 1.10 CATEGORY="x-window" 1.11 +TAGS="jpeg jpg" 1.12 SHORT_DESC="JPEG image programs." 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="MIT" 1.15 +WEB_SITE="https://libjpeg-turbo.virtualgl.org/" 1.16 + 1.17 +SOURCE="libjpeg-turbo" 1.18 TARBALL="$SOURCE-$VERSION.tar.gz" 1.19 -WEB_SITE="http://libjpeg-turbo.virtualgl.org/" 1.20 WGET_URL="$SF_MIRROR/$SOURCE/$VERSION/$TARBALL" 1.21 -TAGS="jpeg jpg" 1.22 1.23 DEPENDS="libjpeg-turbo" 1.24 -BUILD_DEPENDS="nasm" 1.25 +BUILD_DEPENDS="cmake nasm" 1.26 + 1.27 +# @maintainer: Please update also: libjpeg-turbo and libjpeg-turbo-dev 1.28 1.29 # Rules to configure and make the package. 1.30 compile_rules() 1.31 { 1.32 - ./configure --prefix=/usr --with-jpeg8 \ 1.33 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.34 + mkdir build 1.35 + cd build 1.36 + cmake .. \ 1.37 + -G"Unix Makefiles" \ 1.38 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.39 + -DWITH_JPEG8=1 && 1.40 make && 1.41 make DESTDIR=$DESTDIR install 1.42 } 1.43 @@ -28,5 +35,5 @@ 1.44 genpkg_rules() 1.45 { 1.46 mkdir -p $fs/usr 1.47 - cp -a $install/usr/bin $fs/usr 1.48 + cp -a $install/usr/bin $fs/usr 1.49 }