wok view ORBit2/receipt @ rev 24789

grep: add post_install (install)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 21 09:36:52 2022 +0000 (2022-03-21)
parents d1f85e376665
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="https://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$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 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's/-DG_DISABLE_DEPRECATED//' linc2/src/Makefile*
26 ./configure \
27 --prefix=/usr \
28 --build=$HOST_SYSTEM \
29 --host=$HOST_SYSTEM &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/orbit-2.0
37 cp -a $install/usr/lib/orbit-2.0/*.so* $fs/usr/lib/orbit-2.0
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 rm -f $fs/usr/bin/orbit2-config
41 }