wok-6.x view xfe/receipt @ rev 24097
Up hplip (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 13 17:18:37 2021 +0000 (2021-09-13) |
parents | 2611e3a0ba21 |
children | ad86373a4a8c |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfe"
4 VERSION="1.43.2"
5 CATEGORY="system-tools"
6 TAGS="file-manager"
7 SHORT_DESC="Xfe File manager and utility using Fox toolkit."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://roland65.free.fr/xfe/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 SUGGESTED="adie calculator shutterbug xfe-extras xfi"
16 DEPENDS="fox jpeg libpng tiff xcb-util xorg-libXft"
17 BUILD_DEPENDS="automake fox-dev jpeg-dev libpng-dev tiff-dev
18 xcb-util-dev xorg-libXft-dev"
20 GENERIC_MENUS="no"
22 #HOST_ARCH="i486 arm"
24 # Handle cross compilation.
25 case "$ARCH" in
26 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;;
27 arm)
28 export LDLAGS="-L/cross/$ARCH/sysroot/usr/lib" ;;
29 esac
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 # Required by freetype-dev-2.4.11
35 sed -i 's|config/ftheader.h|freetype/config/ftheader.h|' configure.ac
36 export LDFLAGS="$LDFLAGS -lrt"
38 ./autogen.sh &&
39 ./configure $CONFIGURE_ARGS &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/bin
48 mkdir -p $fs/usr/share/xfe/icons
50 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
51 cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe
52 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc
54 # Tango/Gnome icons theme only
55 cp -a $install/usr/share/xfe/icons/tango-theme \
56 $fs/usr/share/xfe/icons
57 cp -a $install/usr/share/xfe/icons/gnome-theme \
58 $fs/usr/share/xfe/icons
59 }