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

Add hfsutils
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 17 21:36:53 2015 +0200 (2015-07-17)
parents 3eb8a14a68f7
children 4bae0fb81a17
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"
8 SELECTED_LIBS="glib2 pango atk gdk_pixbuf2 gtk2"
10 PACKAGE="ruby-gtk2"
11 VERSION="1.0.3"
12 CATEGORY="development"
13 SHORT_DESC="GTK+ bindings for Ruby."
14 MAINTAINER="ben@seawolfsanctuary.com"
15 LICENSE="LGPL2.1"
16 SOURCE="ruby-gnome2-all"
17 TARBALL="$SOURCE-$VERSION.tar.gz"
18 WEB_SITE="http://ruby-gnome2.sourceforge.jp/"
19 WGET_URL="$SF_MIRROR/ruby-gnome2/$TARBALL"
21 DEPENDS="ruby gtk+ xorg-libXp xorg-libXxf86vm"
22 BUILD_DEPENDS="ruby ruby-dev gtk+-dev xorg-libXp-dev xorg-libXxf86vm-dev ruby-pkgconfig"
24 TAGS="ruby programming gtk development"
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 sed -i 's|<glib/.*|<glib.h>|' glib2/ext/glib2/rbglib_*.c
32 # Select the parts to compile here:
33 for LIB in $SELECTED_LIBS; do
34 ruby extconf.rb $LIB && \
35 make $MAKEFLAGS && \
36 make DESTDIR=$DESTDIR install
37 done
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
45 cp -a $install/usr $fs/
46 }