wok-next view libraw/receipt @ rev 20773
jack2: up (1.9.12)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 19:59:31 2018 +0300 (2018-06-06) |
parents | 5841522533ec |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libraw"
4 VERSION="0.18.7"
5 CATEGORY="graphics"
6 SHORT_DESC="RAW image decoder library"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.libraw.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libraw.html"
12 TARBALL="LibRaw-$VERSION.tar.gz"
13 WGET_URL="http://www.libraw.org/data/$TARBALL"
15 BUILD_DEPENDS="libjpeg-turbo-dev lcms2-dev jasper-dev"
16 SPLIT="libraw-dev"
18 compile_rules() {
19 CXX="g++ -Wno-narrowing" \
20 ./configure \
21 --enable-jpeg \
22 --enable-jasper \
23 --enable-lcms \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libraw)
34 copy @std
35 DEPENDS="jasper lcms2 libgomp libjpeg-turbo"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="libraw lcms2-dev"
40 ;;
41 esac
42 }