wok-6.x view ORBit2/receipt @ rev 22822

Add emu8051
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 06 12:27:36 2020 +0100 (2020-02-06)
parents 53b9b09d5276
children a3b6dd3aac6f
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="https://www.gnome.org/"
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 }