wok-next view orbit2/receipt @ rev 20155

uclibc-cross-compiler-x86_64: receipt v2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 15:25:12 2017 +0100 (2017-11-01)
parents
children 93930f418ffb
line source
1 # SliTaz package receipt v2.
3 PACKAGE="orbit2"
4 VERSION="2.14.19"
5 CATEGORY="development"
6 SHORT_DESC="A CORBA 2.4-compliant Object Request Broker (ORB) - deprecated"
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 WEB_SITE="https://projects.gnome.org/ORBit2/"
10 CROSS="bug: Could not check for borked linking while cross-compiling"
12 TARBALL="ORBit2-$VERSION.tar.bz2"
13 WGET_URL="$GNOME_MIRROR/ORBit2/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="glib-dev dbus-dev dbus-glib-dev libidl pkg-config"
16 SPLIT="orbit2-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/-DG_DISABLE_DEPRECATED//' linc2/src/Makefile*
23 ./configure \
24 --prefix=/usr \
25 --build=$HOST_SYSTEM \
26 --host=$HOST_SYSTEM &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 orbit2)
35 copy @std
36 rm -r $fs/usr/share
37 DEPENDS="glib libffi libidl pcre dbus dbus-glib"
38 PROVIDE="ORBit2"
39 ;;
40 *-dev)
41 copy @dev *.idl
42 DEPENDS="orbit2 glib-dev libffi-dev pcre-dev"
43 PROVIDE="ORBit2-dev"
44 ;;
45 esac
46 }