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