wok-next view libraw/receipt @ rev 19787

Up libnl1, libogg, libpaper, librsvg, tiff, fontforge.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 19 21:08:59 2017 +0300 (2017-06-19)
parents 8d6f480bf664
children 9b83ae3e9ce7
line source
1 # SliTaz package receipt.
3 PACKAGE="libraw"
4 VERSION="0.17.2"
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 DEPENDS="jasper lcms2 libgomp libjpeg-turbo"
15 BUILD_DEPENDS="libjpeg-turbo-dev lcms2-dev jasper-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 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }