wok-next annotate ufraw/receipt @ rev 20930

pyaudio -> python-pyaudio
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 23 07:07:52 2018 +0300 (2018-08-23)
parents 7a0eced4cc40
children f48456621a9d
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"
gokhlayeh@5872 6 SHORT_DESC="Utility to read and manipulate raw images from digital cameras."
pankso@12741 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
gokhlayeh@5872 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@12741 10 WEB_SITE="http://ufraw.sourceforge.net/"
pankso@12741 11 WGET_URL="$SF_MIRROR/project/ufraw/ufraw/ufraw-$VERSION/$TARBALL"
pankso@12741 12
pankso@12741 13 BUILD_DEPENDS="gimp gimp-dev lcms-dev tiff-dev exiv2-dev gtk+-dev \
pascal@20119 14 libgtkimageview-dev bzip2-dev gettext-tools"
pascal@20118 15 SPLIT="ufraw gimp-plugin-ufraw ufraw-locales"
gokhlayeh@5872 16
gokhlayeh@5872 17 # Rules to configure and make the package.
gokhlayeh@5872 18 compile_rules()
gokhlayeh@5872 19 {
pascal@20118 20 export CXXFLAGS="-Wno-narrowing"
gokhlayeh@5872 21 ./configure \
gokhlayeh@5872 22 $CONFIGURE_ARGS &&
pankso@12741 23 make && make install
gokhlayeh@5872 24 }
gokhlayeh@5872 25
gokhlayeh@5872 26 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@5872 27 genpkg_rules()
gokhlayeh@5872 28 {
pascal@20118 29 case $PACKAGE in
pascal@20118 30 ufraw)
pascal@20118 31 SUGGESTED="ufraw-locales gimp-plugin-ufraw"
pascal@20118 32 DEPENDS="gtk+ exiv2 lcms tiff libgtkimageview libgomp bzip2"
pascal@20118 33 mkdir -p $fs/usr/share/applications
pascal@20118 34 cp -a $install/usr/bin $fs/usr
pascal@20118 35 cp -a $src/ufraw.desktop $fs/usr/share/applications
pascal@20118 36 ;;
pascal@20118 37 gimp-plugin-ufraw)
pascal@20118 38 CAT="graphics|Add raw files support to GIMP with UFRaw."
pascal@20118 39 SUGGESTED="ufraw-locales"
pascal@20118 40 DEPENDS="gimp"
pascal@20118 41 mkdir -p $fs/usr
pascal@20118 42 cp -a $install/usr/lib $fs/usr
pascal@20118 43 ;;
pascal@20118 44 ufraw-locales)
pascal@20118 45 CAT="misc|Locales for ufraw and gimp-plugin-ufraw."
pascal@20118 46 mkdir -p $fs/usr $fs/usr/share
pascal@20118 47 cp -a $install/usr/share/locale $fs/usr/share
pascal@20118 48 ;;
pascal@20118 49 esac
gokhlayeh@5872 50 }