wok view ufraw/receipt @ rev 21160

Up ufraw (0.22)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 31 15:04:44 2019 +0200 (2019-03-31)
parents 380ffe05937a
children bf447c84094b
line source
1 # SliTaz package receipt.
3 PACKAGE="ufraw"
4 VERSION="0.22"
5 CATEGORY="graphics"
6 SHORT_DESC="Utility to read and manipulate raw images from digital cameras."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ufraw.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/project/ufraw/ufraw/ufraw-$VERSION/$TARBALL"
12 SUGGESTED="ufraw-locales gimp-plugin-ufraw"
14 DEPENDS="gtk+ exiv2 lcms tiff libgtkimageview libgomp bzip2"
15 BUILD_DEPENDS="gimp gimp-dev lcms-dev tiff-dev exiv2-dev gtk+-dev \
16 libgtkimageview-dev bzip2-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|.*Exiv2::Error(1.*|//#if EXIV2_TEST_VERSION(0,27,0)\
22 throw Exiv2::Error(Exiv2::kerErrorMessage, error);\
23 //#else\n//&\n//#endif|' ufraw_exiv2.cc
24 sed -i -e 's|return TRUE|return boolean(TRUE)|' \
25 -e 's|\(jpeg_.*\)TRUE|\1boolean(TRUE)|' dcraw.cc
26 ./configure \
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/share/applications
35 cp -a $install/usr/bin $fs/usr
36 cp -a $src/ufraw.desktop $fs/usr/share/applications
37 }