wok-6.x view ruby-gtk2/receipt @ rev 9925

apr: use --with-egd --with-devrandom (apache dont build)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 23:24:56 2011 +0200 (2011-05-17)
parents 6eec6ac58d3e
children e8faa2c3534d
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.7"
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 }