wok-next diff fox/receipt @ rev 20158
lz4: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 16:59:12 2017 +0100 (2017-11-01) |
parents | 30522fa01aed |
children | dd145c435e4b |
line diff
1.1 --- a/fox/receipt Thu Oct 12 22:32:02 2017 +0200 1.2 +++ b/fox/receipt Wed Nov 01 16:59:12 2017 +0100 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="fox" 1.8 VERSION="1.6.49" 1.9 @@ -11,12 +11,10 @@ 1.10 WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL" 1.11 HOST_ARCH="i486 arm" 1.12 1.13 -SUGGESTED="adie calculator pathfinder shutterbug" 1.14 -DEPENDS="libpng jpeg tiff xorg-libXft bzlib mesa libglu-mesa xorg-libXcursor \ 1.15 -xorg-libXrandr xorg-libXxf86vm xorg-libXdamage libdrm jbigkit" 1.16 BUILD_DEPENDS="libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa-dev \ 1.17 libglu-mesa-dev freetype-dev fontconfig-dev expat-dev libxml2-dev xorg-dev \ 1.18 xorg-libxshmfence-dev" 1.19 +SPLIT="adie calculator fox-dev fox-doc pathfinder shutterbug" 1.20 1.21 # Handle SliTaz arch. 1.22 case "$SLITAZ_ARCH" in 1.23 @@ -49,6 +47,61 @@ 1.24 # Rules to gen a SliTaz package suitable for Tazpkg. 1.25 genpkg_rules() 1.26 { 1.27 - mkdir -p $fs/usr/lib 1.28 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.29 + case $PACKAGE in 1.30 + fox) 1.31 + SUGGESTED="adie calculator pathfinder shutterbug" 1.32 + DEPENDS="libpng jpeg tiff xorg-libXft bzlib mesa libglu-mesa \ 1.33 + xorg-libXcursor xorg-libXrandr xorg-libXxf86vm \ 1.34 + xorg-libXdamage libdrm jbigkit" 1.35 + mkdir -p $fs/usr/lib 1.36 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.37 + ;; 1.38 + adie) 1.39 + CAT="x-window|Advanced text editor using the Fox Toolkit." 1.40 + TAGS="text-editor" 1.41 + DEPENDS="fox" 1.42 + mkdir -p $fs/usr/bin 1.43 + cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.44 + copy_generic_files 1.45 + ;; 1.46 + calculator) 1.47 + CAT="utilities|Calculator using the Fox Toolkit." 1.48 + TAGS="calculator" 1.49 + DEPENDS="fox" 1.50 + mkdir -p $fs/usr/bin 1.51 + cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.52 + copy_generic_files 1.53 + ;; 1.54 + fox-dev) 1.55 + CAT="x-window|Fox Toolkit devel files." 1.56 + DEPENDS="fox pkg-config" 1.57 + mkdir -p $fs/usr/lib $fs/usr/bin 1.58 + cp -a $install/usr/include $fs/usr 1.59 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.60 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.61 + cp -a $install/usr/bin/fox-config $fs/usr/bin 1.62 + cp -a $install/usr/bin/reswrap $fs/usr/bin 1.63 + chmod +x $fs/usr/bin/* 1.64 + ;; 1.65 + fox-doc) 1.66 + CAT="misc|Fox Toolkit documentation." 1.67 + mkdir -p $fs/usr/share 1.68 + cp -a $install/usr/share/doc $fs/usr/share 1.69 + ;; 1.70 + pathfinder) 1.71 + CAT="x-window|Fast and light file manager using the Fox Toolkit." 1.72 + TAGS="file-manager" 1.73 + DEPENDS="fox" 1.74 + mkdir -p $fs/usr/bin 1.75 + cp -a $install/usr/bin/PathFinder $fs/usr/bin 1.76 + copy_generic_files 1.77 + ;; 1.78 + shutterbug) 1.79 + CAT="x-window|Screenshot application from the Fox Toolkit." 1.80 + DEPENDS="fox" 1.81 + mkdir -p $fs/usr/bin 1.82 + cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.83 + copy_generic_files 1.84 + ;; 1.85 + esac 1.86 }