# SliTaz package receipt. PACKAGE="ORBit2" VERSION="2.14.19" CATEGORY="development" SHORT_DESC="A CORBA 2.4-compliant Object Request Broker (ORB)." MAINTAINER="rcx@zoominternet.net" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://www.gnome.org/" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" CROSS="bug: Could not check for borked linking while cross-compiling" DEPENDS="glib libIDL dbus dbus-glib" BUILD_DEPENDS="glib-dev dbus-dev dbus-glib-dev libIDL pkg-config" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||' } # Rules to configure and make the package. compile_rules() { sed -i 's/-DG_DISABLE_DEPRECATED//' linc2/src/Makefile* ./configure \ --prefix=/usr \ --build=$HOST_SYSTEM \ --host=$HOST_SYSTEM && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/orbit-2.0 cp -a $install/usr/lib/orbit-2.0/*.so* $fs/usr/lib/orbit-2.0 cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/bin $fs/usr rm -f $fs/usr/bin/orbit2-config }