wok-next view libraw/receipt @ rev 21274

gejengel: inserted modification of configure files from cooking
author Hans-G?nter Theisgen
date Sat Dec 07 15:42:09 2019 +0100 (2019-12-07)
parents d5aab818505e
children fcef1cda9393
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="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.libraw.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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="$PACKAGE-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 liblcms2 libgomp libjpeg-turbo"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="libraw lcms2-dev"
40 ;;
41 esac
42 }