wok diff ruby-gtk2/receipt @ rev 6478
Up: wxWidgets, wxWidgets-dev to 2.8.11.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 30 01:28:36 2010 +0000 (2010-09-30) |
parents | |
children | 8f653336c581 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ruby-gtk2/receipt Thu Sep 30 01:28:36 2010 +0000 1.3 @@ -0,0 +1,51 @@ 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="glib pango atk gdkpixbuf gtk libglade" 1.11 + 1.12 +PACKAGE="ruby-gtk2" 1.13 +VERSION="0.19.4" 1.14 +CATEGORY="development" 1.15 +SHORT_DESC="GTK+ bindings for Ruby." 1.16 +MAINTAINER="ben@seawolfsanctuary.com" 1.17 + 1.18 +TARBALL="ruby-gnome2-all-$VERSION.tar.gz" 1.19 +WEB_SITE="http://ruby-gnome2.sourceforge.jp/" 1.20 +WGET_URL="http://download.sourceforge.net/project/ruby-gnome2/ruby-gnome2/ruby-gnome2-$VERSION/$TARBALL" 1.21 + 1.22 +DEPENDS="ruby gtk+ GConf startup-notification libpthread-stubs libwnck xorg-libXp xorg-libXxf86vm" 1.23 +BUILD_DEPENDS="ruby ruby-dev gtk+-dev libglade-dev GConf GConf-dev startup-notification-dev \ 1.24 + libpthread-stubs libwnck-dev xorg-libXp-dev xorg-libXxf86vm-dev" 1.25 + 1.26 +TAGS="ruby programming gtk development" 1.27 + 1.28 +# Rules to configure and make the package. 1.29 +compile_rules() 1.30 +{ 1.31 + echo "Creating link... " && \ 1.32 + ln -s ruby-gnome2-all-$VERSION $PACKAGE-$VERSION 1.33 + status 1.34 + 1.35 + cd $src 1.36 + ruby extconf.rb && \ 1.37 + make -j4 && \ 1.38 + make DESTDIR=$PWD/_pkg install 1.39 + 1.40 + # Select the parts to compile here: 1.41 + for LIB in $SELECTED_LIBS; do 1.42 + ruby extconf.rb $LIB && \ 1.43 + make -j4 && \ 1.44 + make DESTDIR=$PWD/_pkg install 1.45 + done 1.46 + 1.47 +} 1.48 + 1.49 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.50 +genpkg_rules() 1.51 +{ 1.52 + mkdir -p $fs/usr 1.53 + cp -a $_pkg/usr $fs/ 1.54 +}