wok-6.x diff ORBit2/receipt @ rev 11587

blender: check build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 08 19:26:30 2012 +0100 (2012-01-08)
parents 9996f5b42665
children 380ffe05937a
line diff
     1.1 --- a/ORBit2/receipt	Sat Oct 16 18:27:00 2010 +0000
     1.2 +++ b/ORBit2/receipt	Sun Jan 08 19:26:30 2012 +0100
     1.3 @@ -5,20 +5,23 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="A CORBA 2.4-compliant Object Request Broker (ORB)."
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 -DEPENDS="glib libIDL"
     1.8 -BUILD_DEPENDS="glib-dev dbus-dev dbus-glib-dev libIDL pkg-config"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10  WEB_SITE="http://projects.gnome.org/ORBit2/"
    1.11  WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.12 +CROSS="bug: Could not check for borked linking while cross-compiling"
    1.13 +
    1.14 +DEPENDS="glib libIDL dbus dbus-glib"
    1.15 +BUILD_DEPENDS="glib-dev dbus-dev dbus-glib-dev libIDL pkg-config"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21 -    ./configure --prefix=/usr \
    1.22 -		$CONFIGURE_ARGS  &&
    1.23 -    make &&
    1.24 -    make DESTDIR=$src/_pkg install
    1.25 +	./configure \
    1.26 +		--prefix=/usr \
    1.27 +		--build=$HOST_SYSTEM \
    1.28 +		--host=$HOST_SYSTEM &&
    1.29 +	make && make install
    1.30  }
    1.31  
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 @@ -28,6 +31,5 @@
    1.34  	cp -a $_pkg/usr/lib/orbit-2.0/*.so* $fs/usr/lib/orbit-2.0
    1.35  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.36  	cp -a $_pkg/usr/bin $fs/usr
    1.37 -	
    1.38  	rm -f $fs/usr/bin/orbit2-config
    1.39  }