wok-current rev 16085
ARM: add the fox toolkit (so we have a few gui apps untils GTK cross compile) and fix libsdl bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 16 00:44:38 2014 +0100 (2014-03-16) |
parents | 53082fab5f1e |
children | 0514c1f0caa8 9a71711986ec |
files | adie/receipt calculator/receipt fltk/receipt fox-dev/receipt fox/receipt libsdl/receipt pathfinder/receipt shutterbug/receipt |
line diff
1.1 --- a/adie/receipt Sun Mar 16 00:22:05 2014 +0100 1.2 +++ b/adie/receipt Sun Mar 16 00:44:38 2014 +0100 1.3 @@ -9,6 +9,7 @@ 1.4 WANTED="fox" 1.5 WEB_SITE="http://www.fox-toolkit.org/" 1.6 TAGS="text-editor" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 DEPENDS="fox" 1.10
2.1 --- a/calculator/receipt Sun Mar 16 00:22:05 2014 +0100 2.2 +++ b/calculator/receipt Sun Mar 16 00:44:38 2014 +0100 2.3 @@ -9,6 +9,7 @@ 2.4 WANTED="fox" 2.5 WEB_SITE="http://www.fox-toolkit.org/" 2.6 TAGS="calculator" 2.7 +HOST_ARCH="i486 arm" 2.8 2.9 DEPENDS="fox" 2.10
3.1 --- a/fltk/receipt Sun Mar 16 00:22:05 2014 +0100 3.2 +++ b/fltk/receipt Sun Mar 16 00:44:38 2014 +0100 3.3 @@ -15,7 +15,7 @@ 3.4 xorg-libXext xorg-libXft xorg-libXrender zlib libpng gcc-lib-base mesa libglu-mesa" 3.5 BUILD_DEPENDS="jpeg-dev libpng-dev libglu-mesa libglu-mesa-dev mesa mesa-dev" 3.6 3.7 -# Handle cross compilation. Host coreutils-file-* are used 3.8 +# Handle cross compilation. 3.9 case "$ARCH" in 3.10 arm) BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libXft-dev" ;; 3.11 esac
4.1 --- a/fox-dev/receipt Sun Mar 16 00:22:05 2014 +0100 4.2 +++ b/fox-dev/receipt Sun Mar 16 00:44:38 2014 +0100 4.3 @@ -8,6 +8,7 @@ 4.4 LICENSE="LGPL2.1" 4.5 WANTED="fox" 4.6 WEB_SITE="http://www.fox-toolkit.org/" 4.7 +HOST_ARCH="i486 arm" 4.8 4.9 DEPENDS="fox pkg-config" 4.10
5.1 --- a/fox/receipt Sun Mar 16 00:22:05 2014 +0100 5.2 +++ b/fox/receipt Sun Mar 16 00:44:38 2014 +0100 5.3 @@ -7,28 +7,44 @@ 5.4 MAINTAINER="pankso@slitaz.org" 5.5 LICENSE="LGPL2.1" 5.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 5.7 -SUGGESTED="adie calculator pathfinder shutterbug" 5.8 WEB_SITE="http://www.fox-toolkit.org/" 5.9 WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL" 5.10 +HOST_ARCH="i486 arm" 5.11 5.12 +SUGGESTED="adie calculator pathfinder shutterbug" 5.13 DEPENDS="libpng jpeg tiff xorg-libXft bzlib mesa libglu-mesa xorg-libXcursor \ 5.14 xorg-libXrandr xorg-libXxf86vm xorg-libXdamage libdrm jbigkit" 5.15 -BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa-dev \ 5.16 +BUILD_DEPENDS="libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa-dev \ 5.17 libglu-mesa-dev freetype-dev fontconfig-dev expat-dev libxml2-dev" 5.18 5.19 +# Handle SliTaz arch. 5.20 +case "$SLITAZ_ARCH" in 5.21 + arm) BUILD_DEPENDS="libjpeg libpng tiff xorg-libXft" ;; 5.22 +esac 5.23 + 5.24 +# Handle cross compilation. 5.25 +case "$ARCH" in 5.26 + arm) 5.27 + BUILD_DEPENDS="jpeg-dev libpng-dev tiff-dev xorg-libXft-dev" 5.28 + ARCH_ARGS="--with-opengl=no" ;; 5.29 +esac 5.30 + 5.31 # Rules to configure and make the package. 5.32 compile_rules() 5.33 { 5.34 - cd $src 5.35 ./configure \ 5.36 --prefix=/usr \ 5.37 --mandir=/usr/share/man \ 5.38 --with-xft \ 5.39 - $CONFIGURE_ARGS && 5.40 + $CONFIGURE_ARGS $ARCH_ARGS && 5.41 make $MAKEFLAGS && 5.42 make DESTDIR=$DESTDIR install 5.43 } 5.44 5.45 +testsuite() { 5.46 + readelf -h $install/usr/bin/adie || exit 1 5.47 +} 5.48 + 5.49 # Rules to gen a SliTaz package suitable for Tazpkg. 5.50 genpkg_rules() 5.51 {
6.1 --- a/libsdl/receipt Sun Mar 16 00:22:05 2014 +0100 6.2 +++ b/libsdl/receipt Sun Mar 16 00:44:38 2014 +0100 6.3 @@ -13,7 +13,13 @@ 6.4 HOST_ARCH="i486 arm" 6.5 6.6 DEPENDS="xorg-libXext xorg-libXrender xorg-libX11" 6.7 -BUILD_DEPENDS="libglu-mesa mesa-dev xorg-libXt-dev xorg-libXext-dev xorg-libXrender-dev xorg-libX11-dev" 6.8 +BUILD_DEPENDS="libglu-mesa mesa-dev xorg-libXt-dev xorg-libXext-dev \ 6.9 +xorg-libXrender-dev xorg-libX11-dev" 6.10 + 6.11 +# Handle cross compilation. 6.12 + arm) BUILD_DEPENDS="xorg-libXt-dev xorg-libXext-dev xorg-libXrender-dev \ 6.13 +xorg-libX11-dev" ;; 6.14 +esac 6.15 6.16 # Rules to configure and make the package. 6.17 compile_rules()