wok diff fox/receipt @ rev 17832
Up: slitaz-boot-scripts (5.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Mar 23 02:04:52 2015 +0200 (2015-03-23) |
parents | aaf121138b7d |
children | a6b0a03ac2ce |
line diff
1.1 --- a/fox/receipt Mon Jan 27 05:11:58 2014 +0000 1.2 +++ b/fox/receipt Mon Mar 23 02:04:52 2015 +0200 1.3 @@ -7,28 +7,44 @@ 1.4 MAINTAINER="pankso@slitaz.org" 1.5 LICENSE="LGPL2.1" 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 -SUGGESTED="adie calculator pathfinder shutterbug" 1.8 WEB_SITE="http://www.fox-toolkit.org/" 1.9 WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL" 1.10 +HOST_ARCH="i486 arm" 1.11 1.12 +SUGGESTED="adie calculator pathfinder shutterbug" 1.13 DEPENDS="libpng jpeg tiff xorg-libXft bzlib mesa libglu-mesa xorg-libXcursor \ 1.14 xorg-libXrandr xorg-libXxf86vm xorg-libXdamage libdrm jbigkit" 1.15 -BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa-dev \ 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" 1.18 1.19 +# Handle SliTaz arch. 1.20 +case "$SLITAZ_ARCH" in 1.21 + arm) BUILD_DEPENDS="libjpeg libpng tiff xorg-libXft" ;; 1.22 +esac 1.23 + 1.24 +# Handle cross compilation. 1.25 +case "$ARCH" in 1.26 + arm) 1.27 + BUILD_DEPENDS="jpeg-dev libpng-dev tiff-dev xorg-libXft-dev" 1.28 + ARCH_ARGS="--with-opengl=no" ;; 1.29 +esac 1.30 + 1.31 # Rules to configure and make the package. 1.32 compile_rules() 1.33 { 1.34 - cd $src 1.35 ./configure \ 1.36 --prefix=/usr \ 1.37 --mandir=/usr/share/man \ 1.38 --with-xft \ 1.39 - $CONFIGURE_ARGS && 1.40 + $CONFIGURE_ARGS $ARCH_ARGS && 1.41 make $MAKEFLAGS && 1.42 make DESTDIR=$DESTDIR install 1.43 } 1.44 1.45 +testsuite() { 1.46 + readelf -h $install/usr/bin/adie || exit 1 1.47 +} 1.48 + 1.49 # Rules to gen a SliTaz package suitable for Tazpkg. 1.50 genpkg_rules() 1.51 {