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