wok-6.x diff ruby-gtk2/receipt @ rev 15199
get-*: add license
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 07 16:10:09 2013 +0000 (2013-09-07) |
parents | |
children | 3eb8a14a68f7 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ruby-gtk2/receipt Sat Sep 07 16:10:09 2013 +0000 1.3 @@ -0,0 +1,43 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +# Note: uses the full Ruby/GNOME2 package but compiles only the selected 1.7 +# GTK+ & Glade parts. Select parts to compile on the following line. 1.8 +# Any unwanted extras (i.e. GNOME stuff) will be ignored. 1.9 + 1.10 +SELECTED_LIBS="glib2 pango atk gdk_pixbuf2 libglade gtk2" 1.11 + 1.12 +PACKAGE="ruby-gtk2" 1.13 +VERSION="1.0.3" 1.14 +CATEGORY="development" 1.15 +SHORT_DESC="GTK+ bindings for Ruby." 1.16 +MAINTAINER="ben@seawolfsanctuary.com" 1.17 +SOURCE="ruby-gnome2-all" 1.18 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.19 +WEB_SITE="http://ruby-gnome2.sourceforge.jp/" 1.20 +WGET_URL="$SF_MIRROR/ruby-gnome2/$TARBALL" 1.21 + 1.22 +DEPENDS="ruby gtk+ xorg-libXp xorg-libXxf86vm" 1.23 +BUILD_DEPENDS="ruby ruby-dev gtk+-dev xorg-libXp-dev xorg-libXxf86vm-dev ruby-pkgconfig" 1.24 + 1.25 +TAGS="ruby programming gtk development" 1.26 + 1.27 +# Rules to configure and make the package. 1.28 +compile_rules() 1.29 +{ 1.30 + cd $src 1.31 + 1.32 + # Select the parts to compile here: 1.33 + for LIB in $SELECTED_LIBS; do 1.34 + ruby extconf.rb $LIB && \ 1.35 + make $MAKEFLAGS && \ 1.36 + make DESTDIR=$DESTDIR install 1.37 + done 1.38 + 1.39 +} 1.40 + 1.41 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.42 +genpkg_rules() 1.43 +{ 1.44 + mkdir -p $fs/usr 1.45 + cp -a $_pkg/usr $fs/ 1.46 +}