wok annotate ORBit2/receipt @ rev 25284
roundup: added BUILD_DEPENDS
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 16:14:38 2022 +0100 (2022-07-18) |
parents | d1f85e376665 |
children |
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" |
pascal@22822 | 10 WEB_SITE="https://www.gnome.org/" |
pascal@24093 | 11 WGET_URL="$GNOME_MIRROR/$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 |
pascal@24093 | 17 current_version() |
pascal@24093 | 18 { |
pascal@24093 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||' |
pascal@24093 | 20 } |
pascal@24093 | 21 |
rcx@3332 | 22 # Rules to configure and make the package. |
rcx@3332 | 23 compile_rules() |
rcx@3332 | 24 { |
pascal@17604 | 25 sed -i 's/-DG_DISABLE_DEPRECATED//' linc2/src/Makefile* |
pankso@10386 | 26 ./configure \ |
pankso@10386 | 27 --prefix=/usr \ |
pankso@10386 | 28 --build=$HOST_SYSTEM \ |
pankso@10386 | 29 --host=$HOST_SYSTEM && |
pankso@10386 | 30 make && make install |
rcx@3332 | 31 } |
rcx@3332 | 32 |
rcx@3332 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3332 | 34 genpkg_rules() |
rcx@3332 | 35 { |
rcx@3332 | 36 mkdir -p $fs/usr/lib/orbit-2.0 |
pascal@15000 | 37 cp -a $install/usr/lib/orbit-2.0/*.so* $fs/usr/lib/orbit-2.0 |
pascal@15000 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15000 | 39 cp -a $install/usr/bin $fs/usr |
rcx@3332 | 40 rm -f $fs/usr/bin/orbit2-config |
rcx@3332 | 41 } |