wok-next view xfe/receipt @ rev 20474

Tiny edits... (again)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 10 17:39:42 2018 +0200 (2018-03-10)
parents dd145c435e4b
children 30967bd5b948
line source
1 # SliTaz package receipt v2.
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"
14 BUILD_DEPENDS="libpng16-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev automake"
15 GENERIC_MENUS="no"
16 SPLIT="xfe xfe-extras xfi xfw"
18 # Handle cross compilation.
19 case "$ARCH" in
20 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;;
21 arm)
22 export LDLAGS="-L/cross/$ARCH/sysroot/usr/lib" ;;
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Required by freetype-dev-2.4.11
29 sed -i 's|config/ftheader.h|freetype/config/ftheader.h|' configure.ac
30 ./autogen.sh
31 ./configure $CONFIGURE_ARGS && make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 case $PACKAGE in
38 xfe)
39 SUGGESTED="adie calculator shutterbug xfe-extras xfi"
40 DEPENDS="libpng16 jpeg tiff xorg-libXft fox"
41 mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons
42 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
43 cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe
44 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc
45 # Tango/Gnome icons theme only
46 cp -a $install/usr/share/xfe/icons/tango-theme \
47 $fs/usr/share/xfe/icons
48 cp -a $install/usr/share/xfe/icons/gnome-theme \
49 $fs/usr/share/xfe/icons
50 ;;
51 xfe-extras)
52 CAT="system-tools|Xfe File manager tools."
53 DEPENDS="xfe"
54 GENERIC_MENUS="no"
55 mkdir -p $fs/usr/bin \
56 $fs/usr/share/applications \
57 $fs/usr/share/icons
59 cp -a $install/usr/bin/xf[i,v,p,w] $fs/usr/bin
60 cp -a $install/usr/share/applications/xf[i,v,p,w]* $fs/usr/share/applications
61 cp -a $src/xf[i,v,p,w].png $fs/usr/share/icons
62 ;;
63 xfi)
64 CAT="x-window|X File Image viewer using the Fox Toolkit."
65 LOCALE=""
66 DEPENDS="fox"
67 mkdir -p $fs/usr/bin
68 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
69 copy_generic_files
70 ;;
71 xfw)
72 CAT="x-window|X File Writer - Text editor using the Fox Toolkit."
73 LOCALE=""
74 TAGS="text-editor"
75 DEPENDS="fox"
76 mkdir -p $fs/usr/bin
77 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
78 copy_generic_files
79 ;;
80 esac
81 }