wok-next diff xfe/receipt @ rev 20607
perdition: up 2.2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 15:57:59 2018 +0300 (2018-04-19) |
parents | c4e53a39395a |
children | d5aab818505e |
line diff
1.1 --- a/xfe/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/xfe/receipt Thu Apr 19 15:57:59 2018 +0300 1.3 @@ -3,79 +3,60 @@ 1.4 PACKAGE="xfe" 1.5 VERSION="1.40" 1.6 CATEGORY="system-tools" 1.7 -SHORT_DESC="Xfe File manager and utility using Fox toolkit." 1.8 +SHORT_DESC="FOX tools for X Window" 1.9 MAINTAINER="pankso@slitaz.org" 1.10 LICENSE="GPL2" 1.11 +WEB_SITE="http://roland65.free.fr/xfe/" 1.12 + 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 -WEB_SITE="http://roland65.free.fr/xfe/" 1.15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 -TAGS="file-manager" 1.17 1.18 -BUILD_DEPENDS="libpng16-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev automake" 1.19 -GENERIC_MENUS="no" 1.20 -SPLIT="xfe xfe-extras xfi xfw" 1.21 +BUILD_DEPENDS_arm="libpng16-dev libjpeg-turbo-dev tiff-dev xorg-libXft-dev \ 1.22 +fox-dev automake" 1.23 +BUILD_DEPENDS="libpng16-dev libjpeg-turbo-dev tiff-dev xorg-libXft-dev fox-dev \ 1.24 +automake intltool gettext xorg-libXrandr-dev xorg-libXi" 1.25 +SPLIT="xfe-extra-icons xfe xfi xfw xfp" 1.26 1.27 -# Handle cross compilation. 1.28 -case "$ARCH" in 1.29 - i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;; 1.30 - arm) 1.31 - export LDLAGS="-L/cross/$ARCH/sysroot/usr/lib" ;; 1.32 -esac 1.33 - 1.34 -# Rules to configure and make the package. 1.35 -compile_rules() 1.36 -{ 1.37 +compile_rules() { 1.38 + case "$ARCH" in 1.39 + arm) export LDFLAGS="-L/cross/$ARCH/sysroot/usr/lib";; 1.40 + esac 1.41 # Required by freetype-dev-2.4.11 1.42 sed -i 's|config/ftheader.h|freetype/config/ftheader.h|' configure.ac 1.43 + 1.44 ./autogen.sh 1.45 - ./configure $CONFIGURE_ARGS && make && make install 1.46 + ./configure $CONFIGURE_ARGS && 1.47 + make && 1.48 + make install 1.49 } 1.50 1.51 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.52 -genpkg_rules() 1.53 -{ 1.54 +genpkg_rules() { 1.55 + COOKOPTS="!pixmaps !menus" 1.56 + DEPENDS="fox xorg-libX11 xorg-libXft xorg-libXrandr" # the same depends 1.57 case $PACKAGE in 1.58 - xfe) 1.59 - SUGGESTED="adie calculator shutterbug xfe-extras xfi" 1.60 - DEPENDS="libpng16 jpeg tiff xorg-libXft fox" 1.61 - mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons 1.62 - cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.63 - cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe 1.64 - sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc 1.65 - # Tango/Gnome icons theme only 1.66 - cp -a $install/usr/share/xfe/icons/tango-theme \ 1.67 - $fs/usr/share/xfe/icons 1.68 - cp -a $install/usr/share/xfe/icons/gnome-theme \ 1.69 - $fs/usr/share/xfe/icons 1.70 - ;; 1.71 - xfe-extras) 1.72 - CAT="system-tools|Xfe File manager tools." 1.73 - DEPENDS="xfe" 1.74 - GENERIC_MENUS="no" 1.75 - mkdir -p $fs/usr/bin \ 1.76 - $fs/usr/share/applications \ 1.77 - $fs/usr/share/icons 1.78 - 1.79 - cp -a $install/usr/bin/xf[i,v,p,w] $fs/usr/bin 1.80 - cp -a $install/usr/share/applications/xf[i,v,p,w]* $fs/usr/share/applications 1.81 - cp -a $src/xf[i,v,p,w].png $fs/usr/share/icons 1.82 - ;; 1.83 - xfi) 1.84 - CAT="x-window|X File Image viewer using the Fox Toolkit." 1.85 - LOCALE="" 1.86 - DEPENDS="fox" 1.87 - mkdir -p $fs/usr/bin 1.88 - cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.89 - copy_generic_files 1.90 - ;; 1.91 - xfw) 1.92 - CAT="x-window|X File Writer - Text editor using the Fox Toolkit." 1.93 - LOCALE="" 1.94 - TAGS="text-editor" 1.95 - DEPENDS="fox" 1.96 - mkdir -p $fs/usr/bin 1.97 - cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.98 - copy_generic_files 1.99 - ;; 1.100 + xfe-extra-icons) 1.101 + copy kde-theme/ windows-theme/ xfe-theme/ 1.102 + DEPENDS="xfe" 1.103 + CAT="misc|extra icon themes" 1.104 + ;; 1.105 + xfe) 1.106 + copy xfe xfe/ xfe.desktop xfe.png @rm 1.107 + SUGGESTED="adie calculator shutterbug xfe-extras xfi" 1.108 + CAT="system-tools|file manager" 1.109 + ;; 1.110 + xfi) 1.111 + copy xfi xfi.desktop xfi.png @rm 1.112 + CAT="x-window|image viewer" 1.113 + ;; 1.114 + xfw) 1.115 + copy xfw xfw.desktop xfw.png @rm 1.116 + CAT="x-window|text editor" 1.117 + TAGS="text-editor" 1.118 + ;; 1.119 + xfp) 1.120 + copy xfp xfp.desktop xfp.png @rm 1.121 + CAT="x-window|package manager" 1.122 + ;; 1.123 esac 1.124 + TAGS="file-manager" 1.125 }