wok-current view rawstudio/receipt @ rev 8358
Up: mercurial to 1.7.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Feb 03 15:58:22 2011 +0000 (2011-02-03) |
parents | |
children | 940b5937e496 |
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 PKG_CONFIG_PATH="/usr/lib/pkgconfig"
19 patch -p1 -i ../stuff/rawstudio-const.patch
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/applications $fs/usr/share
34 cp -a $_pkg/usr/share/icons $fs/usr/share
35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
36 cp -a $_pkg/usr/share/rawstudio $fs/usr/share
37 }