wok-next view libjpeg-turbo/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 7042ae74166a |
children | 25deb7c6df08 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libjpeg-turbo"
4 VERSION="1.5.1"
5 CATEGORY="libs"
6 SHORT_DESC="Accelerated JPEG image codec"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://libjpeg-turbo.virtualgl.org/"
10 HOST_ARCH="i486 x86_64"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="nasm"
16 SPLIT="jpeg-turbo libjpeg-turbo-dev"
18 compile_rules() {
19 ./configure \
20 --with-jpeg8 \
21 --disable-static \
22 --docdir=/usr/share/doc/$PACKAGE-$VERSION \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libjpeg-turbo)
30 copy *.so*
31 TAGS="jpeg jpg"
32 PROVIDE="libjpeg"
33 ;;
34 jpeg-turbo)
35 copy bin/
36 CAT="x-window|programs"
37 TAGS="jpeg jpg"
38 ;;
39 *-dev) copy @dev;;
40 esac
41 }