wok-next diff fox/receipt @ rev 20569
Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 07:14:16 2018 +0300 (2018-04-13) |
parents | d43bf7aae921 |
children | d5aab818505e |
line diff
1.1 --- a/fox/receipt Wed Mar 21 15:58:17 2018 +0200 1.2 +++ b/fox/receipt Fri Apr 13 07:14:16 2018 +0300 1.3 @@ -3,38 +3,29 @@ 1.4 PACKAGE="fox" 1.5 VERSION="1.6.49" 1.6 CATEGORY="x-window" 1.7 -SHORT_DESC="Fox toolkit." 1.8 +SHORT_DESC="Fox toolkit" 1.9 MAINTAINER="pankso@slitaz.org" 1.10 LICENSE="LGPL2.1" 1.11 +WEB_SITE="http://www.fox-toolkit.org/" 1.12 + 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 -WEB_SITE="http://www.fox-toolkit.org/" 1.15 WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL" 1.16 1.17 +BUILD_DEPENDS_arm="jpeg-dev libpng16-dev tiff-dev xorg-libXft-dev" 1.18 BUILD_DEPENDS="libpng16-dev jpeg-dev tiff-dev xorg-libXft-dev mesa-dev \ 1.19 glu-dev freetype-dev fontconfig-dev expat-dev libxml2-dev xorg-dev \ 1.20 xorg-libxshmfence-dev" 1.21 SPLIT="adie calculator fox-dev fox-doc pathfinder shutterbug" 1.22 1.23 -# Handle SliTaz arch. 1.24 -case "$SLITAZ_ARCH" in 1.25 - arm) BUILD_DEPENDS="libjpeg libpng16 tiff xorg-libXft" ;; 1.26 -esac 1.27 +compile_rules() { 1.28 + case "$ARCH" in 1.29 + arm) ARCH_ARGS="--with-opengl=no";; 1.30 + esac 1.31 1.32 -# Handle cross compilation. 1.33 -case "$ARCH" in 1.34 - arm) 1.35 - BUILD_DEPENDS="jpeg-dev libpng16-dev tiff-dev xorg-libXft-dev" 1.36 - ARCH_ARGS="--with-opengl=no" ;; 1.37 -esac 1.38 - 1.39 -# Rules to configure and make the package. 1.40 -compile_rules() 1.41 -{ 1.42 ./configure \ 1.43 - --prefix=/usr \ 1.44 - --mandir=/usr/share/man \ 1.45 --with-xft \ 1.46 $CONFIGURE_ARGS $ARCH_ARGS && 1.47 + fix libtool && 1.48 make $MAKEFLAGS && 1.49 make DESTDIR=$DESTDIR install 1.50 } 1.51 @@ -43,63 +34,45 @@ 1.52 readelf -h $install/usr/bin/adie || exit 1 1.53 } 1.54 1.55 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.56 -genpkg_rules() 1.57 -{ 1.58 +genpkg_rules() { 1.59 case $PACKAGE in 1.60 - fox) 1.61 - SUGGESTED="adie calculator pathfinder shutterbug" 1.62 - DEPENDS="libpng16 jpeg tiff xorg-libXft bzlib mesa glu \ 1.63 + fox) 1.64 + copy libCHART-*.so* libFOX-*.so* 1.65 + SUGGESTED="adie calculator pathfinder shutterbug" 1.66 + DEPENDS="libpng16 jpeg tiff xorg-libXft bzlib mesa glu \ 1.67 xorg-libXcursor xorg-libXrandr xorg-libXxf86vm \ 1.68 xorg-libXdamage libdrm jbigkit" 1.69 - mkdir -p $fs/usr/lib 1.70 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.71 - ;; 1.72 - adie) 1.73 - CAT="x-window|Advanced text editor using the Fox Toolkit." 1.74 - TAGS="text-editor" 1.75 - DEPENDS="fox" 1.76 - mkdir -p $fs/usr/bin 1.77 - cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.78 - copy_generic_files 1.79 - ;; 1.80 - calculator) 1.81 - CAT="utilities|Calculator using the Fox Toolkit." 1.82 - TAGS="calculator" 1.83 - DEPENDS="fox" 1.84 - mkdir -p $fs/usr/bin 1.85 - cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.86 - copy_generic_files 1.87 - ;; 1.88 - fox-dev) 1.89 - DEPENDS="fox" 1.90 - mkdir -p $fs/usr/lib $fs/usr/bin 1.91 - cp -a $install/usr/include $fs/usr 1.92 - cp -a $install/usr/lib/*.*a $fs/usr/lib 1.93 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.94 - cp -a $install/usr/bin/fox-config $fs/usr/bin 1.95 - cp -a $install/usr/bin/reswrap $fs/usr/bin 1.96 - chmod +x $fs/usr/bin/* 1.97 - ;; 1.98 - fox-doc) 1.99 - CAT="misc|Fox Toolkit documentation." 1.100 - mkdir -p $fs/usr/share 1.101 - cp -a $install/usr/share/doc $fs/usr/share 1.102 - ;; 1.103 - pathfinder) 1.104 - CAT="x-window|Fast and light file manager using the Fox Toolkit." 1.105 - TAGS="file-manager" 1.106 - DEPENDS="fox" 1.107 - mkdir -p $fs/usr/bin 1.108 - cp -a $install/usr/bin/PathFinder $fs/usr/bin 1.109 - copy_generic_files 1.110 - ;; 1.111 - shutterbug) 1.112 - CAT="x-window|Screenshot application from the Fox Toolkit." 1.113 - DEPENDS="fox" 1.114 - mkdir -p $fs/usr/bin 1.115 - cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.116 - copy_generic_files 1.117 - ;; 1.118 + ;; 1.119 + adie) 1.120 + copy adie Adie.stx 1.121 + CAT="x-window|advanced text editor" 1.122 + TAGS="text-editor" 1.123 + DEPENDS="fox" 1.124 + ;; 1.125 + calculator) 1.126 + copy calculator 1.127 + CAT="utilities|calculator" 1.128 + TAGS="calculator" 1.129 + DEPENDS="fox" 1.130 + ;; 1.131 + fox-dev) 1.132 + copy @dev reswrap 1.133 + DEPENDS="fox" 1.134 + ;; 1.135 + fox-doc) 1.136 + copy doc/ 1.137 + CAT="misc|documentation" 1.138 + ;; 1.139 + pathfinder) 1.140 + copy PathFinder 1.141 + CAT="x-window|fast and light file manager" 1.142 + TAGS="file-manager" 1.143 + DEPENDS="fox" 1.144 + ;; 1.145 + shutterbug) 1.146 + copy shutterbug 1.147 + CAT="x-window|screenshot application" 1.148 + DEPENDS="fox" 1.149 + ;; 1.150 esac 1.151 }