wok-6.x diff libsoup/receipt @ rev 16377
Add flrec - Audio recorder
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 15 00:52:16 2014 +0200 (2014-04-15) |
parents | a00bf44ed23d |
children | 6f8fd1c4de21 |
line diff
1.1 --- a/libsoup/receipt Sat Aug 10 22:18:41 2013 +0000 1.2 +++ b/libsoup/receipt Tue Apr 15 00:52:16 2014 +0200 1.3 @@ -9,21 +9,27 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.5 WEB_SITE="https://live.gnome.org/LibSoup/" 1.6 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 -DEPENDS="glibc-base libxml2 zlib glib glib-networking libgio gtk+ libgnutls libtasn1 libgcrypt" 1.10 -BUILD_DEPENDS="gtk+-dev glib-networking-dev libgio libgio-dev libxml2-dev libgcrypt-dev libtasn1-dev gobject-introspection-dev gnutls-dev zlib-dev" 1.11 +DEPENDS="glibc-base libxml2 zlib glib glib-networking libgio gtk+ \ 1.12 +libgnutls libtasn1 libgcrypt" 1.13 +BUILD_DEPENDS="gtk+-dev glib-networking-dev libgio libgio-dev \ 1.14 +libxml2-dev libgcrypt-dev libtasn1-dev gnutls-dev zlib-dev" 1.15 + 1.16 +# Handle cross compilation. 1.17 +case "$ARCH" in 1.18 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;; 1.19 +esac 1.20 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 { 1.24 - cd $src 1.25 ./configure \ 1.26 --with-html-dir=/usr/share/doc \ 1.27 --disable-gtk-doc \ 1.28 --without-gnome \ 1.29 $CONFIGURE_ARGS && 1.30 - make && 1.31 - make install 1.32 + make && make install 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg. 1.36 @@ -31,6 +37,5 @@ 1.37 { 1.38 mkdir -p $fs/usr/lib 1.39 cp -a $install/usr/lib/*.so* $fs/usr/lib 1.40 - cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib 1.41 } 1.42