wok-next annotate orbit2/receipt @ rev 20533
cairo-clock, grub4dos: fix CFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 27 12:50:45 2018 +0200 (2018-03-27) |
parents | 93930f418ffb |
children | 10df65db91ad |
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@20513 | 15 BUILD_DEPENDS="glib-dev dbus-dev dbus-glib-dev libidl-dev" |
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 ;; |
al@19784 | 39 *-dev) |
al@19784 | 40 copy @dev *.idl |
al@19784 | 41 DEPENDS="orbit2 glib-dev libffi-dev pcre-dev" |
al@19784 | 42 ;; |
al@19784 | 43 esac |
al@19784 | 44 } |