wok annotate jpeg-turbo/receipt @ rev 25639
Add miss pixmaps for xarchiver, thanks kubepc
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Jan 06 09:40:30 2024 +0100 (8 months ago) |
parents | 82ef250478f7 |
children |
rev | line source |
---|---|
pascal@19097 | 1 # SliTaz package receipt. |
pascal@19097 | 2 |
pascal@19097 | 3 PACKAGE="jpeg-turbo" |
Hans-G?nter@24691 | 4 VERSION="2.1.3" |
pascal@19097 | 5 CATEGORY="x-window" |
Hans-G?nter@22973 | 6 TAGS="jpeg jpg" |
pascal@19097 | 7 SHORT_DESC="JPEG image programs." |
pascal@19097 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19097 | 9 LICENSE="MIT" |
Hans-G?nter@22973 | 10 WEB_SITE="https://libjpeg-turbo.virtualgl.org/" |
Hans-G?nter@24691 | 11 REPOLOGY="libjpeg-turbo" |
Hans-G?nter@22973 | 12 |
Hans-G?nter@22973 | 13 SOURCE="libjpeg-turbo" |
pascal@19097 | 14 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24691 | 15 WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/refs/tags/$VERSION.tar.gz" |
pascal@19097 | 16 |
pascal@19097 | 17 DEPENDS="libjpeg-turbo" |
Hans-G?nter@22973 | 18 BUILD_DEPENDS="cmake nasm" |
Hans-G?nter@22973 | 19 |
Hans-G?nter@22973 | 20 # @maintainer: Please update also: libjpeg-turbo and libjpeg-turbo-dev |
pascal@19097 | 21 |
pascal@24412 | 22 # What is the latest version available today? |
pascal@24412 | 23 current_version() |
pascal@24412 | 24 { |
pascal@25603 | 25 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@25603 | 26 sed '/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24412 | 27 } |
pascal@24412 | 28 |
pascal@19097 | 29 # Rules to configure and make the package. |
pascal@19097 | 30 compile_rules() |
pascal@19097 | 31 { |
Hans-G?nter@24691 | 32 mkdir _build && |
Hans-G?nter@24691 | 33 cd _build && |
Hans-G?nter@22973 | 34 cmake .. \ |
Hans-G?nter@24691 | 35 -G "Unix Makefiles" \ |
Hans-G?nter@24691 | 36 -D CMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@24691 | 37 -D WITH_JPEG8=1 && |
pascal@19097 | 38 make && |
pascal@19097 | 39 make DESTDIR=$DESTDIR install |
pascal@19097 | 40 } |
pascal@19097 | 41 |
pascal@19097 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19097 | 43 genpkg_rules() |
pascal@19097 | 44 { |
Hans-G?nter@24691 | 45 cook_copy_folders bin |
pascal@19097 | 46 } |