wok view xfe/receipt @ rev 16086

libsdl: fix last commit
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 16 01:05:20 2014 +0100 (2014-03-16)
parents 380ffe05937a
children 809051a5c75a
line source
1 # SliTaz package receipt.
3 PACKAGE="xfe"
4 VERSION="1.32.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Xfe File manager and utility using Fox toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://roland65.free.fr/xfe/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 SUGGESTED="adie calculator shutterbug xfe-extras"
15 DEPENDS="libpng jpeg tiff xorg-libXft fox"
16 BUILD_DEPENDS="libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev"
17 GENERIC_MENUS="no"
19 # Handle cross compilation.
20 case "$ARCH" in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;;
22 arm)
23 export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
24 esac
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure $CONFIGURE_ARGS && make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons
36 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
37 cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe
38 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc
39 # Tango/Gnome icons theme only
40 cp -a $install/usr/share/xfe/icons/tango-theme \
41 $fs/usr/share/xfe/icons
42 cp -a $install/usr/share/xfe/icons/gnome-theme \
43 $fs/usr/share/xfe/icons
44 }