wok-next view ORBit2/receipt @ rev 17604

ORBit2: remove G_DISABLE_DEPRECATED
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 12 11:52:07 2015 +0100 (2015-02-12)
parents 380ffe05937a
children
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://projects.gnome.org/ORBit2/"
11 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 CROSS="bug: Could not check for borked linking while cross-compiling"
14 DEPENDS="glib libIDL dbus dbus-glib"
15 BUILD_DEPENDS="glib-dev dbus-dev dbus-glib-dev libIDL pkg-config"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/-DG_DISABLE_DEPRECATED//' linc2/src/Makefile*
21 ./configure \
22 --prefix=/usr \
23 --build=$HOST_SYSTEM \
24 --host=$HOST_SYSTEM &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/orbit-2.0
32 cp -a $install/usr/lib/orbit-2.0/*.so* $fs/usr/lib/orbit-2.0
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 rm -f $fs/usr/bin/orbit2-config
36 }