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

Up: libidn, libidn-dev to 1.19.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 07 11:15:48 2010 +0000 (2010-10-07)
parents
children 8f653336c581
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="glib pango atk gdkpixbuf gtk libglade"
9 PACKAGE="ruby-gtk2"
10 VERSION="0.19.4"
11 CATEGORY="development"
12 SHORT_DESC="GTK+ bindings for Ruby."
13 MAINTAINER="ben@seawolfsanctuary.com"
15 TARBALL="ruby-gnome2-all-$VERSION.tar.gz"
16 WEB_SITE="http://ruby-gnome2.sourceforge.jp/"
17 WGET_URL="http://download.sourceforge.net/project/ruby-gnome2/ruby-gnome2/ruby-gnome2-$VERSION/$TARBALL"
19 DEPENDS="ruby gtk+ GConf startup-notification libpthread-stubs libwnck xorg-libXp xorg-libXxf86vm"
20 BUILD_DEPENDS="ruby ruby-dev gtk+-dev libglade-dev GConf GConf-dev startup-notification-dev \
21 libpthread-stubs libwnck-dev xorg-libXp-dev xorg-libXxf86vm-dev"
23 TAGS="ruby programming gtk development"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 echo "Creating link... " && \
29 ln -s ruby-gnome2-all-$VERSION $PACKAGE-$VERSION
30 status
32 cd $src
33 ruby extconf.rb && \
34 make -j4 && \
35 make DESTDIR=$PWD/_pkg install
37 # Select the parts to compile here:
38 for LIB in $SELECTED_LIBS; do
39 ruby extconf.rb $LIB && \
40 make -j4 && \
41 make DESTDIR=$PWD/_pkg install
42 done
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr
50 cp -a $_pkg/usr $fs/
51 }