wok-next annotate ufraw/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 75632eca5b07
children
rev   line source
pascal@20118 1 # SliTaz package receipt v2.
gokhlayeh@5872 2
gokhlayeh@5872 3 PACKAGE="ufraw"
pankso@12741 4 VERSION="0.18"
gokhlayeh@5872 5 CATEGORY="graphics"
al@21020 6 SHORT_DESC="Utility to read and manipulate raw images from digital cameras"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://ufraw.sourceforge.net/"
al@21020 10
gokhlayeh@5872 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@21020 12 WGET_URL="$SF_MIRROR/ufraw/$TARBALL"
pankso@12741 13
al@21020 14 BUILD_DEPENDS="shared-mime-info gimp-dev lcms-dev tiff-dev exiv2-dev gtk2-dev \
al@21020 15 libgtkimageview-dev bzip2-dev gettext"
al@21020 16 SPLIT="gimp-plugin-ufraw $PACKAGE-locales"
gokhlayeh@5872 17
al@21020 18 compile_rules() {
pascal@20118 19 export CXXFLAGS="-Wno-narrowing"
al@21020 20
al@21020 21 ./configure $CONFIGURE_ARGS &&
al@21020 22 make &&
al@21020 23 make install || return 1
al@21020 24
al@21020 25 install -Dm644 ufraw.desktop $install/usr/share/applications/ufraw.desktop
gokhlayeh@5872 26 }
gokhlayeh@5872 27
al@21020 28 genpkg_rules() {
pascal@20118 29 case $PACKAGE in
al@21020 30 ufraw)
al@21020 31 copy bin/ *.desktop
al@21143 32 DEPENDS="gtk2 exiv2 liblcms libtiff libgtkimageview libgomp bzip2"
al@21020 33 SUGGESTED="ufraw-locales gimp-plugin-ufraw"
al@21020 34 ;;
al@21020 35 gimp-plugin-ufraw)
al@21020 36 copy lib/
al@21020 37 CAT="graphics|RAW files support for GIMP"
al@21020 38 DEPENDS="gimp"
al@21020 39 SUGGESTED="ufraw-locales"
al@21020 40 ;;
al@21020 41 *-locales)
al@21020 42 copy locale/
al@21020 43 CAT="misc|locales for ufraw and gimp-plugin-ufraw"
al@21020 44 ;;
pascal@20118 45 esac
gokhlayeh@5872 46 }