wok-6.x diff xorg-libXpm/receipt @ rev 17675

nmon: keep source
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 18 11:21:08 2015 +0100 (2015-02-18)
parents b67414949731
children 814c58f64f83
line diff
     1.1 --- a/xorg-libXpm/receipt	Mon Dec 09 07:45:53 2013 +0000
     1.2 +++ b/xorg-libXpm/receipt	Wed Feb 18 11:21:08 2015 +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 \