wok-next diff libgsf/receipt @ rev 16341
Add slitaz-arm-rpi (only for ARM arch, hope i486 cooker will handle it)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 14:59:28 2014 +0200 (2014-04-12) |
parents | 4904e3d374a9 |
children | a219ba1b4838 |
line diff
1.1 --- a/libgsf/receipt Tue Jun 11 10:41:23 2013 +0200 1.2 +++ b/libgsf/receipt Sat Apr 12 14:59:28 2014 +0200 1.3 @@ -9,14 +9,19 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WEB_SITE="http://freshmeat.net/projects/libgsf/" 1.6 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 -DEPENDS="gtk+ bzlib" 1.10 -BUILD_DEPENDS="libgio libgio-dev intltool pkg-config glib-dev libxml2-dev zlib-dev" 1.11 +DEPENDS="libgio bzlib libxml2 " 1.12 +BUILD_DEPENDS="libgio-dev glib-dev libxml2-dev zlib-dev" 1.13 + 1.14 +# Handle cross compilation 1.15 +case "$ARCH" in 1.16 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;; 1.17 +esac 1.18 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 { 1.22 - cd $src 1.23 ./configure \ 1.24 --with-html-dir=/usr/share/doc \ 1.25 --without-bonobo \