wok view xfe/receipt @ rev 4800
tazpkg-web: Clean-up and small fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 17 21:59:56 2010 +0100 (2010-01-17) |
parents | add5a2914906 |
children | 0b4cf0d9e1b5 |
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 || exit 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 }