wok annotate ORBit2/receipt @ rev 18569
tazpanel-extra: clear tazpanel cache in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 10 12:55:14 2015 +0100 (2015-11-10) |
parents | 380ffe05937a |
children | d1f85e376665 |
rev | line source |
---|---|
rcx@3332 | 1 # SliTaz package receipt. |
rcx@3332 | 2 |
rcx@3332 | 3 PACKAGE="ORBit2" |
slaxemulator@6735 | 4 VERSION="2.14.19" |
rcx@3332 | 5 CATEGORY="development" |
rcx@3332 | 6 SHORT_DESC="A CORBA 2.4-compliant Object Request Broker (ORB)." |
rcx@3332 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15000 | 8 LICENSE="GPL2" |
rcx@3332 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rcx@3332 | 10 WEB_SITE="http://projects.gnome.org/ORBit2/" |
slaxemulator@6735 | 11 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@10386 | 12 CROSS="bug: Could not check for borked linking while cross-compiling" |
pankso@10386 | 13 |
pankso@10386 | 14 DEPENDS="glib libIDL dbus dbus-glib" |
pankso@10386 | 15 BUILD_DEPENDS="glib-dev dbus-dev dbus-glib-dev libIDL pkg-config" |
rcx@3332 | 16 |
rcx@3332 | 17 # Rules to configure and make the package. |
rcx@3332 | 18 compile_rules() |
rcx@3332 | 19 { |
pascal@17604 | 20 sed -i 's/-DG_DISABLE_DEPRECATED//' linc2/src/Makefile* |
pankso@10386 | 21 ./configure \ |
pankso@10386 | 22 --prefix=/usr \ |
pankso@10386 | 23 --build=$HOST_SYSTEM \ |
pankso@10386 | 24 --host=$HOST_SYSTEM && |
pankso@10386 | 25 make && make install |
rcx@3332 | 26 } |
rcx@3332 | 27 |
rcx@3332 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3332 | 29 genpkg_rules() |
rcx@3332 | 30 { |
rcx@3332 | 31 mkdir -p $fs/usr/lib/orbit-2.0 |
pascal@15000 | 32 cp -a $install/usr/lib/orbit-2.0/*.so* $fs/usr/lib/orbit-2.0 |
pascal@15000 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15000 | 34 cp -a $install/usr/bin $fs/usr |
rcx@3332 | 35 rm -f $fs/usr/bin/orbit2-config |
rcx@3332 | 36 } |