wok-next annotate ruby-gtk2/receipt @ rev 8982

Fixed othello to work locally so sources don't have to be downloaded everytime.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Mar 02 15:36:11 2011 +0000 (2011-03-02)
parents 6eec6ac58d3e
children e8faa2c3534d
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
ben@7196 7 SELECTED_LIBS="glib2 pango atk gdk_pixbuf2 libglade gtk2"
ben@6074 8
ben@6074 9 PACKAGE="ruby-gtk2"
slaxemulator@8731 10 VERSION="0.90.7"
ben@6074 11 CATEGORY="development"
ben@6074 12 SHORT_DESC="GTK+ bindings for Ruby."
ben@6074 13 MAINTAINER="ben@seawolfsanctuary.com"
ben@7196 14 SOURCE="ruby-gnome2-all"
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 }