wok-next view ufraw/receipt @ rev 21077

rgb: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 21 04:44:58 2018 +0200 (2018-12-21)
parents f48456621a9d
children 75632eca5b07
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ufraw"
4 VERSION="0.18"
5 CATEGORY="graphics"
6 SHORT_DESC="Utility to read and manipulate raw images from digital cameras"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://ufraw.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/ufraw/$TARBALL"
14 BUILD_DEPENDS="shared-mime-info gimp-dev lcms-dev tiff-dev exiv2-dev gtk2-dev \
15 libgtkimageview-dev bzip2-dev gettext"
16 SPLIT="gimp-plugin-ufraw $PACKAGE-locales"
18 compile_rules() {
19 export CXXFLAGS="-Wno-narrowing"
21 ./configure $CONFIGURE_ARGS &&
22 make &&
23 make install || return 1
25 install -Dm644 ufraw.desktop $install/usr/share/applications/ufraw.desktop
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 ufraw)
31 copy bin/ *.desktop
32 DEPENDS="gtk2 exiv2 lcms tiff libgtkimageview libgomp bzip2"
33 SUGGESTED="ufraw-locales gimp-plugin-ufraw"
34 ;;
35 gimp-plugin-ufraw)
36 copy lib/
37 CAT="graphics|RAW files support for GIMP"
38 DEPENDS="gimp"
39 SUGGESTED="ufraw-locales"
40 ;;
41 *-locales)
42 copy locale/
43 CAT="misc|locales for ufraw and gimp-plugin-ufraw"
44 ;;
45 esac
46 }