wok-next view rawstudio/receipt @ rev 20007

gnet, gnome-desktop, gtk-screenshot, gtkglext, lightdm-gtk2-greeter, lightdm-gtk3-greeter, notecase, orage, python-pyexiv2, qlipper, qtpanel: update bdeps; rawstudio, realvnc-viewer: add CXXFLAGS; puzzles: tiny patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 21 16:36:07 2017 +0200 (2017-10-21)
parents 17e313b5b9c1
children d6378d455338
line source
1 # SliTaz package receipt.
3 PACKAGE="rawstudio"
4 VERSION="1.2"
5 CATEGORY="graphics"
6 SHORT_DESC="An open source raw-image converter written in GTK+"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://rawstudio.org/"
11 WGET_URL="http://rawstudio.org/files/release/$TARBALL"
13 DEPENDS="desktop-file-utils dbus exiv2 GConf gtk+ lcms jpeg libjpeg tiff libxml2"
14 BUILD_DEPENDS="exiv2-dev GConf-dev gtk+-dev dbus-dev lcms-dev jpeg-dev tiff-dev libxml2-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export CXXFLAGS="-Wno-narrowing"
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
21 export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
22 patch -p1 -i $stuff/rawstudio-const.patch
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/applications $fs/usr/share
37 cp -a $install/usr/share/icons $fs/usr/share
38 cp -a $install/usr/share/pixmaps $fs/usr/share
39 cp -a $install/usr/share/rawstudio $fs/usr/share
40 }