wok-current view ruby-gtk2/receipt @ rev 15313

partclone: remove a wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 16:30:34 2013 +0000 (2013-09-27)
parents 4a88534591b7
children eb6049f398cb
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 LICENSE="LGPL2.1"
15 SOURCE="ruby-gnome2-all"
16 TARBALL="$SOURCE-$VERSION.tar.gz"
17 WEB_SITE="http://ruby-gnome2.sourceforge.jp/"
18 WGET_URL="$SF_MIRROR/ruby-gnome2/$TARBALL"
20 DEPENDS="ruby gtk+ xorg-libXp xorg-libXxf86vm"
21 BUILD_DEPENDS="ruby ruby-dev gtk+-dev xorg-libXp-dev xorg-libXxf86vm-dev ruby-pkgconfig"
23 TAGS="ruby programming gtk development"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 sed -i 's|<glib/.*|<glib.h>|' glib2/ext/glib2/rbglib_*.c
31 # Select the parts to compile here:
32 for LIB in $SELECTED_LIBS; do
33 ruby extconf.rb $LIB && \
34 make $MAKEFLAGS && \
35 make DESTDIR=$DESTDIR install
36 done
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 cp -a $install/usr $fs/
45 }