wok-next diff orbit2/receipt @ rev 19784

Build glib static libs and make static desktop-file-validate (for cookutils compressor), remake optipng & pngquant: use sbin for static binaries. Up 915resolution, Qt4-qca-ossl, R, accessx, advancecomp, aiksaurus, airpwn, amsn for auto-patching; lowercase libIDL, ORBit2 names.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 19 04:02:32 2017 +0300 (2017-06-19)
parents
children 93930f418ffb
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/orbit2/receipt	Mon Jun 19 04:02:32 2017 +0300
     1.3 @@ -0,0 +1,46 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="orbit2"
     1.7 +VERSION="2.14.19"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="A CORBA 2.4-compliant Object Request Broker (ORB) - deprecated"
    1.10 +MAINTAINER="rcx@zoominternet.net"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://projects.gnome.org/ORBit2/"
    1.13 +CROSS="bug: Could not check for borked linking while cross-compiling"
    1.14 +
    1.15 +TARBALL="ORBit2-$VERSION.tar.bz2"
    1.16 +WGET_URL="$GNOME_MIRROR/ORBit2/${VERSION%.*}/$TARBALL"
    1.17 +
    1.18 +BUILD_DEPENDS="glib-dev dbus-dev dbus-glib-dev libidl pkg-config"
    1.19 +SPLIT="orbit2-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	sed -i 's/-DG_DISABLE_DEPRECATED//' linc2/src/Makefile*
    1.25 +
    1.26 +	./configure \
    1.27 +		--prefix=/usr \
    1.28 +		--build=$HOST_SYSTEM \
    1.29 +		--host=$HOST_SYSTEM &&
    1.30 +	make && make install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	case $PACKAGE in
    1.37 +		orbit2)
    1.38 +			copy @std
    1.39 +			rm -r $fs/usr/share
    1.40 +			DEPENDS="glib libffi libidl pcre   dbus dbus-glib"
    1.41 +			PROVIDE="ORBit2"
    1.42 +			;;
    1.43 +		*-dev)
    1.44 +			copy @dev *.idl
    1.45 +			DEPENDS="orbit2 glib-dev libffi-dev pcre-dev"
    1.46 +			PROVIDE="ORBit2-dev"
    1.47 +			;;
    1.48 +	esac
    1.49 +}