wok-stable view ruby-gtk2/receipt @ rev 11595
dropbear-pam: wanted dropbear
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 13 11:41:34 2012 +0100 (2012-01-13) |
parents | e8faa2c3534d |
children |
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="0.90.8"
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=$PWD/_pkg 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 }