wok-4.x view xfe/receipt @ rev 3423

python-turbogears: Remove pkg before building
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 13 12:07:45 2009 +0200 (2009-06-13)
parents
children cc233e5d5706
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 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons
31 cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin
32 cp -a $_pkg/usr/share/xfe/xferc $fs/usr/share/xfe
33 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc
34 # Tango/Gnome icons theme only
35 cp -a $_pkg/usr/share/xfe/icons/tango-theme \
36 $fs/usr/share/xfe/icons
37 cp -a $_pkg/usr/share/xfe/icons/gnome-theme \
38 $fs/usr/share/xfe/icons
39 }