wok-stable rev 6074

Add: ruby-gtk2 (0.19.4) - GTK+ bindings for Ruby.
author Ben Arnold <ben@seawolfsanctuary.com>
date Fri Aug 27 14:20:01 2010 +0100 (2010-08-27)
parents 57183cc0d94b
children 1400c81c35e4
files ruby-gtk2/description.txt ruby-gtk2/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ruby-gtk2/description.txt	Fri Aug 27 14:20:01 2010 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +Ruby-GNOME2 is a set of Ruby language bindings for the GNOME 2.0 development environment, allowing GTK+ applications 
     1.5 +to be powered by the Ruby language. This is the next generation of Ruby-GNOME.
     1.6 +
     1.7 +Ruby-GNOME2 now includes the libraries below:
     1.8 +  - ruby-gtk2 package (Ruby/GLib2, Ruby/ATK, Ruby/GdkPixbuf2, Ruby/Pango, Ruby/GTK2)
     1.9 +  - ruby-gnome2-all package (ruby-gtk2, Ruby/GnomeCanvas2, Ruby/GNOME2, Ruby/Libart2, Ruby/Libglade2, Ruby/GConf2, Ruby/GnomeVFS, Ruby/GtkGLExt, Ruby/GtkHtml2, Ruby/GtkSourceView, Ruby/PanelApplet, Ruby/GnomePrint, Ruby/GnomePrintUI, Ruby/RSVG, Ruby/GtkMozEmbed, Ruby/Poppler, Ruby/VTE (needs vte & vte-dev installed))
    1.10 +  - ruby-gtktrayicon (Ruby/GtkTrayIcon (Deprecated. Use Gtk::StatusIcon in Ruby/GTK instead))
    1.11 +
    1.12 +Ruby-GNOME2 also provides the following programs:
    1.13 +  - rbbr (Ruby Browser)
    1.14 \ No newline at end of file
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ruby-gtk2/receipt	Fri Aug 27 14:20:01 2010 +0100
     2.3 @@ -0,0 +1,51 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +# Note: uses the full Ruby/GNOME2 package but compiles only the selected
     2.7 +# GTK+ & Glade parts. Select parts to compile on the following line.
     2.8 +# Any unwanted extras (i.e. GNOME stuff) will be ignored.
     2.9 +
    2.10 +SELECTED_LIBS="glib pango atk gdkpixbuf gtk libglade"
    2.11 +
    2.12 +PACKAGE="ruby-gtk2"
    2.13 +VERSION="0.19.4"
    2.14 +CATEGORY="development"
    2.15 +SHORT_DESC="GTK+ bindings for Ruby."
    2.16 +MAINTAINER="ben@seawolfsanctuary.com"
    2.17 +
    2.18 +TARBALL="ruby-gnome2-all-$VERSION.tar.gz"
    2.19 +WEB_SITE="http://ruby-gnome2.sourceforge.jp/"
    2.20 +WGET_URL="http://download.sourceforge.net/project/ruby-gnome2/ruby-gnome2/ruby-gnome2-$VERSION/$TARBALL"
    2.21 +
    2.22 +DEPENDS="ruby gtk+ GConf startup-notification libpthread-stubs libwnck xorg-libXp xorg-libXxf86vm"
    2.23 +BUILD_DEPENDS="ruby ruby-dev gtk+-dev libglade-dev GConf GConf-dev startup-notification-dev \
    2.24 +		libpthread-stubs libwnck-dev xorg-libXp-dev xorg-libXxf86vm-dev"
    2.25 +
    2.26 +TAGS="ruby programming gtk development"
    2.27 +
    2.28 +# Rules to configure and make the package.
    2.29 +compile_rules()
    2.30 +{
    2.31 +	echo "Creating link... " && \
    2.32 +		ln -s ruby-gnome2-all-$VERSION $PACKAGE-$VERSION
    2.33 +		status
    2.34 +
    2.35 +	cd $src
    2.36 +	ruby extconf.rb && \
    2.37 +	make -j4 && \
    2.38 +	make DESTDIR=$PWD/_pkg install
    2.39 +
    2.40 +	# Select the parts to compile here:
    2.41 +	for LIB in $SELECTED_LIBS; do
    2.42 +		ruby extconf.rb $LIB && \
    2.43 +		make -j4 && \
    2.44 +		make DESTDIR=$PWD/_pkg install
    2.45 +	done
    2.46 +
    2.47 +}
    2.48 +
    2.49 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.50 +genpkg_rules()
    2.51 +{
    2.52 +	mkdir -p $fs/usr
    2.53 +	cp -a $_pkg/usr $fs/
    2.54 +}