wok-4.x annotate ORBit2/receipt @ rev 10042

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