wok-next diff xorg-libXpm/receipt @ rev 16078

ARM: add dosfstools
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 15 03:41:10 2014 +0100 (2014-03-15)
parents b67414949731
children 9f70134dc7a7
line diff
     1.1 --- a/xorg-libXpm/receipt	Mon Dec 09 07:45:53 2013 +0000
     1.2 +++ b/xorg-libXpm/receipt	Sat Mar 15 03:41:10 2014 +0100
     1.3 @@ -10,13 +10,25 @@
     1.4  SOURCE="libXpm"
     1.5  TARBALL="$SOURCE-$VERSION.tar.bz2"
     1.6  WGET_URL="$XORG_MIRROR/lib/$TARBALL"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9 -DEPENDS="xorg-libX11"
    1.10 -BUILD_DEPENDS="xorg-libXt-dev xorg-libXext-dev util-linux-uuid-dev"
    1.11 +DEPENDS="xorg-libX11 xorg-libXt"
    1.12 +BUILD_DEPENDS="xorg-libXt-dev xorg-libXext-dev xorg-libSM-dev util-linux-uuid-dev"
    1.13  
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
    1.17 +	case "$ARCH" in
    1.18 +		arm*) 
    1.19 +			# ARM Hack
    1.20 +			for la in libICE.la libSM.la libuuid.la
    1.21 +			do
    1.22 +				if grep -q "^libdir='/usr/lib'" /usr/lib/${la}; then
    1.23 +					sed -i s"#/usr/lib#/cross/$ARCH/sysroot/usr/lib#" \
    1.24 +						/usr/lib/${la}
    1.25 +				fi 
    1.26 +			done ;;
    1.27 +	esac
    1.28  	./configure \
    1.29  		--sysconfdir=/etc \
    1.30  		--localstatedir=/var \