wok-next view libraw/receipt @ rev 19796

Add graphite2; up ijs, libexif, libmng, libraw, libwebp, newt, openjpeg, openjpeg2.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 23 16:10:03 2017 +0300 (2017-06-23)
parents 4048d48a47c1
children 5841522533ec
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libraw"
4 VERSION="0.18.1"
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/"
11 TARBALL="LibRaw-$VERSION.tar.gz"
12 WGET_URL="http://www.libraw.org/data/$TARBALL"
14 BUILD_DEPENDS="libjpeg-turbo-dev lcms2-dev jasper-dev"
15 SPLIT="libraw-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 CXX="g++ -Wno-narrowing" \
21 ./configure \
22 --enable-jpeg \
23 --enable-jasper \
24 --enable-lcms \
25 --disable-static \
26 --docdir=/usr/share/doc/libraw-$VERSION \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 libraw) copy @std; DEPENDS="jasper lcms2 libgomp libjpeg-turbo";;
36 *-dev) copy @dev; DEPENDS="libraw jasper-dev lcms2-dev libjpeg-turbo-dev";;
37 esac
38 }