wok-6.x view jpeg-turbo/receipt @ rev 25377
updated udpxy (1.0.24.1 -> 1.0.25.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 11:20:37 2022 +0100 (2022-07-30) |
parents | ba7cbdb5749c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="jpeg-turbo"
4 VERSION="2.1.3"
5 CATEGORY="x-window"
6 TAGS="jpeg jpg"
7 SHORT_DESC="JPEG image programs."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://libjpeg-turbo.virtualgl.org/"
11 REPOLOGY="libjpeg-turbo"
13 SOURCE="libjpeg-turbo"
14 TARBALL="$SOURCE-$VERSION.tar.gz"
15 WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/refs/tags/$VERSION.tar.gz"
17 DEPENDS="libjpeg-turbo"
18 BUILD_DEPENDS="cmake nasm"
20 # @maintainer: Please update also: libjpeg-turbo and libjpeg-turbo-dev
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - https://sourceforge.net/projects/libjpeg-turbo/files/ 2>/dev/null | \
26 sed '/scope="row/!d;/\/[0-9]/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
27 sed '/scope="row/!d;s|.*/files/||;s|/.*||;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 mkdir _build &&
34 cd _build &&
35 cmake .. \
36 -G "Unix Makefiles" \
37 -D CMAKE_INSTALL_PREFIX=/usr \
38 -D WITH_JPEG8=1 &&
39 make &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 cook_copy_folders bin
47 }