wok-current view xfe/receipt @ rev 8615

Fix: replace exit 1 by return 1 in receipts (exit broke cook-list function)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 19:09:46 2011 +0100 (2011-02-14)
parents cc233e5d5706
children 940b5937e496
line source
1 # SliTaz package receipt.
3 PACKAGE="xfe"
4 VERSION="1.19.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Xfe File manager and utility using Fox toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="libpng jpeg tiff xorg-libXft fox"
10 BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev"
11 SUGGESTED="adie calculator shutterbug"
12 WEB_SITE="http://roland65.free.fr/xfe/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -p 0 < ../stuff/gcc-4.patch || return 1
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 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/bin $fs/usr/share/xfe/icons
32 cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin
33 cp -a $_pkg/usr/share/xfe/xferc $fs/usr/share/xfe
34 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc
35 # Tango/Gnome icons theme only
36 cp -a $_pkg/usr/share/xfe/icons/tango-theme \
37 $fs/usr/share/xfe/icons
38 cp -a $_pkg/usr/share/xfe/icons/gnome-theme \
39 $fs/usr/share/xfe/icons
40 }