wok view ORBit2/receipt @ rev 10030

gcc: use CONFIGURE_ARGS so we can cross compile from --build system for --host system (Tank: i686 --> i486)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 01:50:57 2011 +0200 (2011-05-20)
parents 2ce2ef1854a4
children 269cebcd4f1f
line source
1 # SliTaz package receipt.
3 PACKAGE="ORBit2"
4 VERSION="2.14.19"
5 CATEGORY="development"
6 SHORT_DESC="A CORBA 2.4-compliant Object Request Broker (ORB)."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glib libIDL"
9 BUILD_DEPENDS="glib-dev dbus-dev dbus-glib-dev libIDL pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://projects.gnome.org/ORBit2/"
12 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$src/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib/orbit-2.0
28 cp -a $_pkg/usr/lib/orbit-2.0/*.so* $fs/usr/lib/orbit-2.0
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
32 rm -f $fs/usr/bin/orbit2-config
33 }