wok-6.x view ruby-gtk2/receipt @ rev 21304
updated libsdl2-net and libsdl2-net-dev (2.0.0 -> 2.0.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 18 14:46:00 2019 +0100 (2019-04-18) |
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 }