wok-next view rawstudio/receipt @ rev 14726

Up mesa (9.1.3), intel haswell support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 13 09:32:02 2013 +0200 (2013-06-13)
parents 940b5937e496
children 380ffe05937a
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 DEPENDS="desktop-file-utils dbus exiv2 GConf gtk+ lcms jpeg libjpeg tiff libxml2"
9 BUILD_DEPENDS="exiv2-dev GConf-dev gtk+-dev dbus-dev lcms-dev jpeg-dev tiff-dev libxml2-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://rawstudio.org/"
12 WGET_URL="http://rawstudio.org/files/release/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
19 export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
20 patch -p1 -i $stuff/rawstudio-const.patch
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share/applications $fs/usr/share
35 cp -a $_pkg/usr/share/icons $fs/usr/share
36 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
37 cp -a $_pkg/usr/share/rawstudio $fs/usr/share
38 }