wok view jpeg-turbo/receipt @ rev 24520

updated ethtool (5.4 -> 5.16)
author Hans-G?nter Theisgen
date Tue Feb 22 15:25:07 2022 +0100 (2022-02-22)
parents 64d013f1415a
children 82ef250478f7
line source
1 # SliTaz package receipt.
3 PACKAGE="jpeg-turbo"
4 VERSION="2.0.4"
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/"
12 SOURCE="libjpeg-turbo"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="$SF_MIRROR/$SOURCE/$VERSION/$TARBALL"
16 DEPENDS="libjpeg-turbo"
17 BUILD_DEPENDS="cmake nasm"
19 # @maintainer: Please update also: libjpeg-turbo and libjpeg-turbo-dev
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://sourceforge.net/projects/libjpeg-turbo/files/ 2>/dev/null | \
25 sed '/scope="row/!d;/\/[0-9]/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
26 sed '/scope="row/!d;s|.*/files/||;s|/.*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 mkdir build
33 cd build
34 cmake .. \
35 -G"Unix Makefiles" \
36 -DCMAKE_INSTALL_PREFIX=/usr \
37 -DWITH_JPEG8=1 &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
46 cp -a $install/usr/bin $fs/usr
47 }