wok annotate ruby-gtk2/receipt @ rev 7193

Up: ruby-gtk2 to 0.90.5.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Nov 09 02:24:36 2010 +0000 (2010-11-09)
parents d91ee0bdbd09
children 6eec6ac58d3e
rev   line source
ben@6074 1 # SliTaz package receipt.
ben@6074 2
ben@6074 3 # Note: uses the full Ruby/GNOME2 package but compiles only the selected
ben@6074 4 # GTK+ & Glade parts. Select parts to compile on the following line.
ben@6074 5 # Any unwanted extras (i.e. GNOME stuff) will be ignored.
ben@6074 6
slaxemulator@7193 7 SELECTED_LIBS="glib2 gio pango atk gdkpixbuf2 gtk2"
ben@6074 8
ben@6074 9 PACKAGE="ruby-gtk2"
slaxemulator@7193 10 VERSION="0.90.5"
ben@6074 11 CATEGORY="development"
ben@6074 12 SHORT_DESC="GTK+ bindings for Ruby."
ben@6074 13 MAINTAINER="ben@seawolfsanctuary.com"
slaxemulator@7193 14 SOURCE="ruby-gtk2"
slaxemulator@7193 15 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@7193 16 WEB_SITE="http://ruby-gnome2.sourceforge.jp/"
slaxemulator@7193 17 WGET_URL="$SF_MIRROR/ruby-gnome2/$TARBALL"
ben@6074 18
slaxemulator@7193 19 DEPENDS="ruby gtk+ xorg-libXp xorg-libXxf86vm"
slaxemulator@7193 20 BUILD_DEPENDS="ruby ruby-dev gtk+-dev xorg-libXp-dev xorg-libXxf86vm-dev ruby-pkgconfig"
ben@6074 21
ben@6074 22 TAGS="ruby programming gtk development"
ben@6074 23
ben@6074 24 # Rules to configure and make the package.
ben@6074 25 compile_rules()
ben@6074 26 {
ben@6074 27 cd $src
ben@6074 28
ben@6074 29 # Select the parts to compile here:
ben@6074 30 for LIB in $SELECTED_LIBS; do
ben@6074 31 ruby extconf.rb $LIB && \
ben@6074 32 make -j4 && \
ben@6074 33 make DESTDIR=$PWD/_pkg install
ben@6074 34 done
ben@6074 35
ben@6074 36 }
ben@6074 37
ben@6074 38 # Rules to gen a SliTaz package suitable for Tazpkg.
ben@6074 39 genpkg_rules()
ben@6074 40 {
ben@6074 41 mkdir -p $fs/usr
ben@6074 42 cp -a $_pkg/usr $fs/
ben@6074 43 }