wok-next view libjpeg-turbo/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | e7a485521d6a |
children | 7c5d038be95b |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libjpeg-turbo"
4 VERSION="2.0.0"
5 CATEGORY="graphics"
6 SHORT_DESC="Accelerated JPEG image codec"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://libjpeg-turbo.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libjpeg.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="cmake nasm"
16 SPLIT="jpeg-turbo $PACKAGE-dev"
18 compile_rules() {
19 mkdir build
20 cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_INSTALL_LIBDIR=/usr/lib \
24 -DENABLE_STATIC=FALSE \
25 -DWITH_JPEG8=TRUE \
26 .. &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libjpeg-turbo)
34 copy *.so*
35 TAGS="jpeg jpg"
36 PROVIDE="libjpeg"
37 ;;
38 jpeg-turbo)
39 copy bin/
40 DEPENDS="libjpeg-turbo"
41 CAT="x-window|programs"
42 TAGS="jpeg jpg"
43 ;;
44 *-dev) copy @dev;;
45 esac
46 }