wok view xfe/receipt @ rev 17530

Up xfe,xfe-extras,xfi (1.40)
author Richard Dunbar <mojo@slitaz.org>
date Mon Jan 19 15:56:59 2015 -0500 (2015-01-19)
parents 5d53e8ccbc8d
children 035061c662bf
line source
1 # SliTaz package receipt.
3 PACKAGE="xfe"
4 VERSION="1.40"
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 TAGS="file-manager"
13 #HOST_ARCH="i486 arm"
15 SUGGESTED="adie calculator shutterbug xfe-extras xfi"
16 DEPENDS="libpng jpeg tiff xorg-libXft fox"
17 BUILD_DEPENDS="libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev automake"
18 GENERIC_MENUS="no"
20 # Handle cross compilation.
21 case "$ARCH" in
22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;;
23 arm)
24 export LDLAGS="-L/cross/$ARCH/sysroot/usr/lib" ;;
25 esac
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # Required by freetype-dev-2.4.11
31 sed -i 's|config/ftheader.h|freetype/config/ftheader.h|' configure.ac
32 ./autogen.sh
33 ./configure $CONFIGURE_ARGS && make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons
40 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
41 cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe
42 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc
43 # Tango/Gnome icons theme only
44 cp -a $install/usr/share/xfe/icons/tango-theme \
45 $fs/usr/share/xfe/icons
46 cp -a $install/usr/share/xfe/icons/gnome-theme \
47 $fs/usr/share/xfe/icons
48 }