wok-next view xfe/receipt @ rev 16565

An attempt to have a PDF reader for ARM (mupdf)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 01 12:12:31 2014 +0200 (2014-05-01)
parents 0514c1f0caa8
children 5d53e8ccbc8d
line source
1 # SliTaz package receipt.
3 PACKAGE="xfe"
4 VERSION="1.37"
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 xfi"
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 LDLAGS="-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 }