wok-next annotate orbit2/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | d43bf7aae921 |
children | 342b30daff76 |
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 |
al@19784 | 11 TARBALL="ORBit2-$VERSION.tar.bz2" |
al@19784 | 12 WGET_URL="$GNOME_MIRROR/ORBit2/${VERSION%.*}/$TARBALL" |
al@19784 | 13 |
al@20513 | 14 BUILD_DEPENDS="glib-dev dbus-dev dbus-glib-dev libidl-dev" |
al@19784 | 15 SPLIT="orbit2-dev" |
al@19784 | 16 |
al@20604 | 17 CROSS="bug: Could not check for borked linking while cross-compiling" |
al@20604 | 18 |
al@20604 | 19 compile_rules() { |
al@19784 | 20 sed -i 's/-DG_DISABLE_DEPRECATED//' linc2/src/Makefile* |
al@19784 | 21 |
al@20604 | 22 ./configure $CONFIGURE_ARGS && |
al@20604 | 23 fix libtool && |
al@20604 | 24 make && |
al@20604 | 25 make install |
al@19784 | 26 } |
al@19784 | 27 |
al@20604 | 28 genpkg_rules() { |
al@19784 | 29 case $PACKAGE in |
al@19784 | 30 orbit2) |
al@19784 | 31 copy @std |
al@19784 | 32 rm -r $fs/usr/share |
al@19784 | 33 DEPENDS="glib libffi libidl pcre dbus dbus-glib" |
al@19784 | 34 ;; |
al@19784 | 35 *-dev) |
al@19784 | 36 copy @dev *.idl |
al@19784 | 37 DEPENDS="orbit2 glib-dev libffi-dev pcre-dev" |
al@19784 | 38 ;; |
al@19784 | 39 esac |
al@19784 | 40 } |