wok-current view xfe/receipt @ rev 9118

glibc-dev: ensure necessary packages are built
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 13:14:44 2011 +0100 (2011-03-05)
parents 0b4cf0d9e1b5
children 810399e45e44
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 }