wok-6.x annotate jpeg-turbo/receipt @ rev 20118
zstd: add bdeps & deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 13 15:15:02 2017 +0200 (2017-10-13) |
parents | 6bccdf0e2a0d |
children | 64d013f1415a |
rev | line source |
---|---|
pascal@19097 | 1 # SliTaz package receipt. |
pascal@19097 | 2 |
pascal@19097 | 3 PACKAGE="jpeg-turbo" |
pascal@19097 | 4 SOURCE="libjpeg-turbo" |
pascal@19097 | 5 VERSION="1.4.2" |
pascal@19097 | 6 CATEGORY="x-window" |
pascal@19097 | 7 SHORT_DESC="JPEG image programs." |
pascal@19097 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19097 | 9 LICENSE="MIT" |
pascal@19097 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@19097 | 11 WEB_SITE="http://libjpeg-turbo.virtualgl.org/" |
pascal@19097 | 12 WGET_URL="$SF_MIRROR/$SOURCE/$VERSION/$TARBALL" |
pascal@19097 | 13 TAGS="jpeg jpg" |
pascal@19097 | 14 |
pascal@19097 | 15 DEPENDS="libjpeg-turbo" |
pascal@19097 | 16 BUILD_DEPENDS="nasm" |
pascal@19097 | 17 |
pascal@19097 | 18 # Rules to configure and make the package. |
pascal@19097 | 19 compile_rules() |
pascal@19097 | 20 { |
psychomaniak@19385 | 21 ./configure --prefix=/usr --with-jpeg8 \ |
pascal@19097 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@19097 | 23 make && |
pascal@19097 | 24 make DESTDIR=$DESTDIR install |
pascal@19097 | 25 } |
pascal@19097 | 26 |
pascal@19097 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19097 | 28 genpkg_rules() |
pascal@19097 | 29 { |
pascal@19097 | 30 mkdir -p $fs/usr |
pascal@19097 | 31 cp -a $install/usr/bin $fs/usr |
pascal@19097 | 32 } |