wok annotate ruby-gtk2/receipt @ rev 13502

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