wok-next view libjpeg-turbo/receipt @ rev 20180
opencc: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 02 12:28:56 2017 +0100 (2017-11-02) |
parents | 35a20e111081 |
children | 0e7893ac206d |
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="nasm"
15 SPLIT="jpeg-turbo libjpeg-turbo-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --with-jpeg8 \
22 --disable-static \
23 --docdir=/usr/share/doc/$PACKAGE-$VERSION \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 libjpeg-turbo)
33 copy *.so*
34 TAGS="jpeg jpg"
35 PROVIDE="libjpeg"
36 ;;
37 jpeg-turbo)
38 copy bin/
39 CAT="x-window|programs"
40 TAGS="jpeg jpg"
41 ;;
42 *-dev) copy @dev;;
43 esac
44 }