# HG changeset patch # User Ben Arnold # Date 1282915201 -3600 # Node ID d91ee0bdbd09d412f5612e4fc17eb5a0ec701b65 # Parent 57183cc0d94becce68cf55cd960c665e9036f7af Add: ruby-gtk2 (0.19.4) - GTK+ bindings for Ruby. diff -r 57183cc0d94b -r d91ee0bdbd09 ruby-gtk2/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ruby-gtk2/description.txt Fri Aug 27 14:20:01 2010 +0100 @@ -0,0 +1,10 @@ +Ruby-GNOME2 is a set of Ruby language bindings for the GNOME 2.0 development environment, allowing GTK+ applications +to be powered by the Ruby language. This is the next generation of Ruby-GNOME. + +Ruby-GNOME2 now includes the libraries below: + - ruby-gtk2 package (Ruby/GLib2, Ruby/ATK, Ruby/GdkPixbuf2, Ruby/Pango, Ruby/GTK2) + - 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)) + - ruby-gtktrayicon (Ruby/GtkTrayIcon (Deprecated. Use Gtk::StatusIcon in Ruby/GTK instead)) + +Ruby-GNOME2 also provides the following programs: + - rbbr (Ruby Browser) \ No newline at end of file diff -r 57183cc0d94b -r d91ee0bdbd09 ruby-gtk2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ruby-gtk2/receipt Fri Aug 27 14:20:01 2010 +0100 @@ -0,0 +1,51 @@ +# SliTaz package receipt. + +# Note: uses the full Ruby/GNOME2 package but compiles only the selected +# GTK+ & Glade parts. Select parts to compile on the following line. +# Any unwanted extras (i.e. GNOME stuff) will be ignored. + +SELECTED_LIBS="glib pango atk gdkpixbuf gtk libglade" + +PACKAGE="ruby-gtk2" +VERSION="0.19.4" +CATEGORY="development" +SHORT_DESC="GTK+ bindings for Ruby." +MAINTAINER="ben@seawolfsanctuary.com" + +TARBALL="ruby-gnome2-all-$VERSION.tar.gz" +WEB_SITE="http://ruby-gnome2.sourceforge.jp/" +WGET_URL="http://download.sourceforge.net/project/ruby-gnome2/ruby-gnome2/ruby-gnome2-$VERSION/$TARBALL" + +DEPENDS="ruby gtk+ GConf startup-notification libpthread-stubs libwnck xorg-libXp xorg-libXxf86vm" +BUILD_DEPENDS="ruby ruby-dev gtk+-dev libglade-dev GConf GConf-dev startup-notification-dev \ + libpthread-stubs libwnck-dev xorg-libXp-dev xorg-libXxf86vm-dev" + +TAGS="ruby programming gtk development" + +# Rules to configure and make the package. +compile_rules() +{ + echo "Creating link... " && \ + ln -s ruby-gnome2-all-$VERSION $PACKAGE-$VERSION + status + + cd $src + ruby extconf.rb && \ + make -j4 && \ + make DESTDIR=$PWD/_pkg install + + # Select the parts to compile here: + for LIB in $SELECTED_LIBS; do + ruby extconf.rb $LIB && \ + make -j4 && \ + make DESTDIR=$PWD/_pkg install + done + +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr $fs/ +}