wok diff xorg-libXpm/receipt @ rev 19397
Up brotli (0.5.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 13:32:28 2016 +0200 (2016-09-02) |
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 Fri Sep 02 13:32:28 2016 +0200 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 \