wok-next diff librsvg-dev/receipt @ rev 18576

typo
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Nov 11 01:51:31 2015 +0100 (2015-11-11)
parents 8ed62ecac0c7
children 8407f9c3f9be
line diff
     1.1 --- a/librsvg-dev/receipt	Thu Dec 05 11:43:50 2013 +0000
     1.2 +++ b/librsvg-dev/receipt	Wed Nov 11 01:51:31 2015 +0100
     1.3 @@ -8,6 +8,7 @@
     1.4  LICENSE="GPL2"
     1.5  WEB_SITE="http://librsvg.sourceforge.net/"
     1.6  WANTED="librsvg"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  DEPENDS="librsvg cairo-dev gdk-pixbuf-dev libgio-dev glib-dev libcroco-dev \
    1.10  pkg-config"
    1.11 @@ -19,11 +20,13 @@
    1.12  	cp -a $install/usr/include $fs/usr
    1.13  	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.14  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.15 -	cp -a $install/usr/lib/gtk-2.0 $fs/usr/lib
    1.16 +	[ -d "$install/usr/lib/gtk-2.0" ] && \
    1.17 +		cp -a $install/usr/lib/gtk-2.0 $fs/usr/lib
    1.18  	cp -a $install/usr/lib/gdk-pixbuf-2.0 $fs/usr/lib
    1.19  
    1.20  	# remove *.*a files
    1.21 -	find $fs/usr/lib/gtk-2.0 -name "*.so*" -exec rm -f {} \;
    1.22 +	[ -d "$install/usr/lib/gtk-2.0" ] && \
    1.23 +		find $fs/usr/lib/gtk-2.0 -name "*.so*" -exec rm -f {} \;
    1.24  	find $fs/usr/lib/gdk-pixbuf-2.0 -name "*.so*" -exec rm -f {} \;
    1.25  }
    1.26