wok-next annotate rawstudio/receipt @ rev 21080

Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 24 02:07:02 2018 +0200 (2018-12-24)
parents d457c4e37c1b
children 29128929e4f9
rev   line source
slaxemulator@6514 1 # SliTaz package receipt.
slaxemulator@6514 2
slaxemulator@6514 3 PACKAGE="rawstudio"
slaxemulator@6514 4 VERSION="1.2"
slaxemulator@6514 5 CATEGORY="graphics"
slaxemulator@6514 6 SHORT_DESC="An open source raw-image converter written in GTK+"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@21041 9 WEB_SITE="https://rawstudio.org/"
al@21041 10
slaxemulator@6514 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6514 12 WGET_URL="http://rawstudio.org/files/release/$TARBALL"
slaxemulator@6514 13
al@21080 14 DEPENDS="desktop-file-utils dbus exiv2 gconf gtk2 lcms jpeg libjpeg libtiff libxml2"
al@21017 15 BUILD_DEPENDS="exiv2-dev gconf-dev gtk2-dev dbus-dev lcms-dev jpeg-dev tiff-dev libxml2-dev"
pascal@15000 16
al@21020 17 compile_rules() {
pascal@20007 18 export CXXFLAGS="-Wno-narrowing"
pascal@17670 19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
slaxemulator@6514 20 export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
al@20661 21
slaxemulator@6514 22 ./configure \
slaxemulator@6514 23 --prefix=/usr \
slaxemulator@6514 24 --infodir=/usr/share/info \
slaxemulator@6514 25 --mandir=/usr/share/man \
slaxemulator@6514 26 $CONFIGURE_ARGS &&
al@21020 27 make &&
al@21020 28 make DESTDIR=$install install
slaxemulator@6514 29 }
slaxemulator@6514 30
al@21020 31 genpkg_rules() {
slaxemulator@6514 32 mkdir -p $fs/usr/share
pascal@15000 33 cp -a $install/usr/bin $fs/usr
pascal@15000 34 cp -a $install/usr/share/applications $fs/usr/share
pascal@15000 35 cp -a $install/usr/share/icons $fs/usr/share
pascal@15000 36 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@15000 37 cp -a $install/usr/share/rawstudio $fs/usr/share
slaxemulator@6514 38 }