wok-stable diff ORBit2/receipt @ rev 12367
clamtk: fix genpkg_rules (thanks ernia)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 02 14:24:30 2013 +0100 (2013-01-02) |
parents | 9996f5b42665 |
children |
line diff
1.1 --- a/ORBit2/receipt Sat Oct 16 18:27:00 2010 +0000 1.2 +++ b/ORBit2/receipt Wed Jan 02 14:24:30 2013 +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 }