/home/Yaakov/src/cygport/tests/cygport-0.20.2-1.noarch/src/cygport-0.20.2/cygclass/ruby-gnome2.cygclass

Cygport Reference Manual

### TABLE OF CONTENTS

- ruby-gnome2.cygclass

- RUBY_GNOME2_MODULES
- CATEGORY (ruby-gnome2)
- SUMMARY (ruby-gnome2)
- HOMEPAGE (ruby-gnome2)
- SRC_URI (ruby-gnome2)
- SVN_URI (ruby-gnome2)
- SVN_REV (ruby-gnome2)
- MAKEOPTS (ruby-gnome2)
- DEPS_PATH (ruby-gnome2)
- ruby_gnome2_compile
- ruby_gnome2_install
- src_compile (ruby-gnome2)
- src_install (ruby-gnome2)

## ruby-gnome2.cygclass

[ Top ] [ Cygclasses ] [ Cygclasses ]

SYNOPSIS

      [RUBY_GNOME2_MODULES="..."]
      inherit ruby-gnome2

DESCRIPTION

The Ruby-GNOME project provides Ruby bindings for the GLib, GTK+, and GNOME libraries, allowing full-fledged GNOME programs to be written in the Ruby programming language. Source packages are based on the Ruby extconf.rb system with some additions to handle the unique requirements of inter-module dependencies and pkg-config usage. A few third-party modules are also available which use the same system to bind libraries not yet covered by the Ruby-GNOME project.

This cygclass builds both official and third-party Ruby-GNOME2 binding packages.

NOTE

Ruby-GNOME packages may now be built from gems with rubygem.cygclass. Therefore, this cygclass is deprecated and may be removed in the future.

INHERITS

ruby.cygclass

## RUBY_GNOME2_MODULES

[ Top ] [ ruby-gnome2.cygclass ] [ Variables ]

DESCRIPTION

When building the official ruby-gnome2-all source package, RUBY_GNOME2_MODULES must be set to a whitespace-separated list of binding modules to be built. Third-party packages are assumed to contain a single binding to be built.

## CATEGORY (ruby-gnome2)

[ Top ] [ ruby-gnome2.cygclass ] [ Overloads ]

DEFINITION

    CATEGORY="Ruby"

## SUMMARY (ruby-gnome2)

[ Top ] [ ruby-gnome2.cygclass ] [ Overloads ]

DEFINITION

    SUMMARY="Ruby ${rbg2_pn} bindings"

## HOMEPAGE (ruby-gnome2)

[ Top ] [ ruby-gnome2.cygclass ] [ Overloads ]

DEFINITION

    HOMEPAGE="http://ruby-gnome2.sourceforge.jp/"

## SRC_URI (ruby-gnome2)

[ Top ] [ ruby-gnome2.cygclass ] [ Overloads ]

DESCRIPTION

Download location of the Ruby-GNOME2 source package.

## SVN_URI (ruby-gnome2)

[ Top ] [ ruby-gnome2.cygclass ] [ Overloads ]

DESCRIPTION

Location of the Ruby-GNOME2 Subversion repository.

## SVN_REV (ruby-gnome2)

[ Top ] [ ruby-gnome2.cygclass ] [ Overloads ]

DESCRIPTION

If PV is of the form major.minor.micro.rev, a Subversion snapshot will be assumed, svn.cygclass will be inherit()ed, and the fourth (rev) component of PV defined as SVN_REV.

## MAKEOPTS (ruby-gnome2)

[ Top ] [ ruby-gnome2.cygclass ] [ Overloads ]

DESCRIPTION

The Ruby-GNOME2 source packages do not support parallel make.

## DEPS_PATH (ruby-gnome2)

[ Top ] [ ruby-gnome2.cygclass ] [ Overloads ]

DESCRIPTION

Ruby-GNOME2 modules are unique that they are not only linked against the C libraries which they bind, but also expose an API to bindings higher up in the stack which link against them as well. Therefore, DEPS_PATH is set to catch these inter-module link dependencies.

## ruby_gnome2_compile

[ Top ] [ ruby-gnome2.cygclass ] [ Compile Functions ]

SYNOPSIS

      cd $B
      ruby_gnome2_compile

DESCRIPTION

Configures and compiles the Ruby-GNOME2 bindings specified in RUBY_GNOME2_MODULES, then generates RI documentation for those bindings.

## ruby_gnome2_install

[ Top ] [ ruby-gnome2.cygclass ] [ Install Functions ]

SYNOPSIS

      cd $B
      ruby_gnome2_install

DESCRIPTION

Installs the Ruby-GNOME2 bindings specified in RUBY_GNOME2_MODULES, as well as import libraries for those bindings whose API is used by other bindings. RI documentation is then installed per the definition of RDOC_MODULE.

## src_compile (ruby-gnome2)

[ Top ] [ ruby-gnome2.cygclass ] [ Overloads ]

DEFINITION

    src_compile() {
            cd ${B}
            lndirs
            ruby_gnome2_compile
    }

## src_install (ruby-gnome2)

[ Top ] [ ruby-gnome2.cygclass ] [ Overloads ]

DEFINITION

    src_install() {
            cd ${B}
            ruby_gnome2_install
    }