wok-current view rawstudio/receipt @ rev 12086
osmo: Make sure /usr folder exist before copying /usr/bin folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 09 21:48:21 2012 -0500 (2012-03-09) |
parents | 96a7cb8ba1fd |
children | 349909c15747 |
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 }