wok annotate jpeg-turbo/receipt @ rev 24376
created recipes for libboost-locale and libboost-locale-dev
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 06 09:40:33 2022 +0100 (2022-02-06) |
parents | 89ac50e7e4b0 |
children | ba7cbdb5749c |
rev | line source |
---|---|
pascal@19097 | 1 # SliTaz package receipt. |
pascal@19097 | 2 |
pascal@19097 | 3 PACKAGE="jpeg-turbo" |
Hans-G?nter@22973 | 4 VERSION="2.0.4" |
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@22973 | 11 |
Hans-G?nter@22973 | 12 SOURCE="libjpeg-turbo" |
pascal@19097 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@19097 | 14 WGET_URL="$SF_MIRROR/$SOURCE/$VERSION/$TARBALL" |
pascal@19097 | 15 |
pascal@19097 | 16 DEPENDS="libjpeg-turbo" |
Hans-G?nter@22973 | 17 BUILD_DEPENDS="cmake nasm" |
Hans-G?nter@22973 | 18 |
Hans-G?nter@22973 | 19 # @maintainer: Please update also: libjpeg-turbo and libjpeg-turbo-dev |
pascal@19097 | 20 |
pascal@19097 | 21 # Rules to configure and make the package. |
pascal@19097 | 22 compile_rules() |
pascal@19097 | 23 { |
Hans-G?nter@22973 | 24 mkdir build |
Hans-G?nter@22973 | 25 cd build |
Hans-G?nter@22973 | 26 cmake .. \ |
Hans-G?nter@22973 | 27 -G"Unix Makefiles" \ |
Hans-G?nter@22973 | 28 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@22973 | 29 -DWITH_JPEG8=1 && |
pascal@19097 | 30 make && |
pascal@19097 | 31 make DESTDIR=$DESTDIR install |
pascal@19097 | 32 } |
pascal@19097 | 33 |
pascal@19097 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19097 | 35 genpkg_rules() |
pascal@19097 | 36 { |
pascal@19097 | 37 mkdir -p $fs/usr |
Hans-G?nter@22973 | 38 cp -a $install/usr/bin $fs/usr |
pascal@19097 | 39 } |