wok-current view ruby-gtk2/receipt @ rev 10299
devilspie: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 18:55:07 2011 +0000 (2011-05-21) |
parents | 223fab6bdca1 |
children | 8e4c74abdf74 |
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 -j4 && \
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 }