wok-next diff xfe/receipt @ rev 20449
xcb-proto is obsolete -> xorg-xcb-proto
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 14:08:05 2018 +0200 (2018-02-28) |
parents | 2611e3a0ba21 |
children | dd145c435e4b |
line diff
1.1 --- a/xfe/receipt Mon Jan 19 15:56:59 2015 -0500 1.2 +++ b/xfe/receipt Wed Feb 28 14:08:05 2018 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="xfe" 1.8 VERSION="1.40" 1.9 @@ -12,10 +12,9 @@ 1.10 TAGS="file-manager" 1.11 #HOST_ARCH="i486 arm" 1.12 1.13 -SUGGESTED="adie calculator shutterbug xfe-extras xfi" 1.14 -DEPENDS="libpng jpeg tiff xorg-libXft fox" 1.15 BUILD_DEPENDS="libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev automake" 1.16 GENERIC_MENUS="no" 1.17 +SPLIT="xfe xfe-extras xfi xfw" 1.18 1.19 # Handle cross compilation. 1.20 case "$ARCH" in 1.21 @@ -36,13 +35,48 @@ 1.22 # Rules to gen a SliTaz package suitable for Tazpkg. 1.23 genpkg_rules() 1.24 { 1.25 - mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons 1.26 - cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.27 - cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe 1.28 - sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc 1.29 - # Tango/Gnome icons theme only 1.30 - cp -a $install/usr/share/xfe/icons/tango-theme \ 1.31 - $fs/usr/share/xfe/icons 1.32 - cp -a $install/usr/share/xfe/icons/gnome-theme \ 1.33 - $fs/usr/share/xfe/icons 1.34 + case $PACKAGE in 1.35 + xfe) 1.36 + SUGGESTED="adie calculator shutterbug xfe-extras xfi" 1.37 + DEPENDS="libpng jpeg tiff xorg-libXft fox" 1.38 + mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons 1.39 + cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.40 + cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe 1.41 + sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc 1.42 + # Tango/Gnome icons theme only 1.43 + cp -a $install/usr/share/xfe/icons/tango-theme \ 1.44 + $fs/usr/share/xfe/icons 1.45 + cp -a $install/usr/share/xfe/icons/gnome-theme \ 1.46 + $fs/usr/share/xfe/icons 1.47 + ;; 1.48 + xfe-extras) 1.49 + CAT="system-tools|Xfe File manager tools." 1.50 + DEPENDS="xfe" 1.51 + GENERIC_MENUS="no" 1.52 + mkdir -p $fs/usr/bin \ 1.53 + $fs/usr/share/applications \ 1.54 + $fs/usr/share/icons 1.55 + 1.56 + cp -a $install/usr/bin/xf[i,v,p,w] $fs/usr/bin 1.57 + cp -a $install/usr/share/applications/xf[i,v,p,w]* $fs/usr/share/applications 1.58 + cp -a $src/xf[i,v,p,w].png $fs/usr/share/icons 1.59 + ;; 1.60 + xfi) 1.61 + CAT="x-window|X File Image viewer using the Fox Toolkit." 1.62 + LOCALE="" 1.63 + DEPENDS="fox" 1.64 + mkdir -p $fs/usr/bin 1.65 + cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.66 + copy_generic_files 1.67 + ;; 1.68 + xfw) 1.69 + CAT="x-window|X File Writer - Text editor using the Fox Toolkit." 1.70 + LOCALE="" 1.71 + TAGS="text-editor" 1.72 + DEPENDS="fox" 1.73 + mkdir -p $fs/usr/bin 1.74 + cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.75 + copy_generic_files 1.76 + ;; 1.77 + esac 1.78 }