wok-current annotate ORBit2/receipt @ rev 25736
Add miss git-branch patch for cookutils
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jan 20 09:30:59 2025 +0000 (38 hours ago) |
parents | a3b6dd3aac6f |
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 |
shann@25728 | 17 HOST_ARCH="i486 x86_64" |
shann@25728 | 18 |
pascal@24093 | 19 current_version() |
pascal@24093 | 20 { |
pascal@24093 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||' |
pascal@24093 | 22 } |
pascal@24093 | 23 |
rcx@3332 | 24 # Rules to configure and make the package. |
rcx@3332 | 25 compile_rules() |
rcx@3332 | 26 { |
pascal@17604 | 27 sed -i 's/-DG_DISABLE_DEPRECATED//' linc2/src/Makefile* |
pankso@10386 | 28 ./configure \ |
pankso@10386 | 29 --prefix=/usr \ |
pankso@10386 | 30 --build=$HOST_SYSTEM \ |
pankso@10386 | 31 --host=$HOST_SYSTEM && |
pankso@10386 | 32 make && make install |
rcx@3332 | 33 } |
rcx@3332 | 34 |
rcx@3332 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3332 | 36 genpkg_rules() |
rcx@3332 | 37 { |
rcx@3332 | 38 mkdir -p $fs/usr/lib/orbit-2.0 |
pascal@15000 | 39 cp -a $install/usr/lib/orbit-2.0/*.so* $fs/usr/lib/orbit-2.0 |
pascal@15000 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15000 | 41 cp -a $install/usr/bin $fs/usr |
rcx@3332 | 42 rm -f $fs/usr/bin/orbit2-config |
rcx@3332 | 43 } |