wok-current rev 10386

ORBit2: can't cross (use native)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 18:21:15 2011 +0200 (2011-05-23)
parents c395af0ea481
children cf0bb35f3330
files ORBit2/receipt
line diff
     1.1 --- a/ORBit2/receipt	Mon May 23 18:18:01 2011 +0200
     1.2 +++ b/ORBit2/receipt	Mon May 23 18:21:15 2011 +0200
     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  }