wok-current view jpeg-turbo/receipt @ rev 23590

created recipe for python-pysol-cards
author Hans-G?nter Theisgen
date Wed Apr 08 10:28:19 2020 +0100 (2020-04-08)
parents 89ac50e7e4b0
children ba7cbdb5749c
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 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mkdir build
25 cd build
26 cmake .. \
27 -G"Unix Makefiles" \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 -DWITH_JPEG8=1 &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }