wok-next view ufraw/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 7a0eced4cc40 |
children | f48456621a9d |
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="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"
13 BUILD_DEPENDS="gimp gimp-dev lcms-dev tiff-dev exiv2-dev gtk+-dev \
14 libgtkimageview-dev bzip2-dev gettext-tools"
15 SPLIT="ufraw gimp-plugin-ufraw ufraw-locales"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export CXXFLAGS="-Wno-narrowing"
21 ./configure \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 case $PACKAGE in
30 ufraw)
31 SUGGESTED="ufraw-locales gimp-plugin-ufraw"
32 DEPENDS="gtk+ exiv2 lcms tiff libgtkimageview libgomp bzip2"
33 mkdir -p $fs/usr/share/applications
34 cp -a $install/usr/bin $fs/usr
35 cp -a $src/ufraw.desktop $fs/usr/share/applications
36 ;;
37 gimp-plugin-ufraw)
38 CAT="graphics|Add raw files support to GIMP with UFRaw."
39 SUGGESTED="ufraw-locales"
40 DEPENDS="gimp"
41 mkdir -p $fs/usr
42 cp -a $install/usr/lib $fs/usr
43 ;;
44 ufraw-locales)
45 CAT="misc|Locales for ufraw and gimp-plugin-ufraw."
46 mkdir -p $fs/usr $fs/usr/share
47 cp -a $install/usr/share/locale $fs/usr/share
48 ;;
49 esac
50 }