# SliTaz package receipt. # Note: uses the full Ruby/GNOME2 package but compiles only the selected # GTK+ & Glade parts. Select parts to compile on the following line. # Any unwanted extras (i.e. GNOME stuff) will be ignored. SELECTED_LIBS="glib2 pango atk gdk_pixbuf2 libglade gtk2" PACKAGE="ruby-gtk2" VERSION="1.0.3" CATEGORY="development" SHORT_DESC="GTK+ bindings for Ruby." MAINTAINER="ben@seawolfsanctuary.com" SOURCE="ruby-gnome2-all" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://ruby-gnome2.sourceforge.jp/" WGET_URL="$SF_MIRROR/ruby-gnome2/$TARBALL" DEPENDS="ruby gtk+ xorg-libXp xorg-libXxf86vm" BUILD_DEPENDS="ruby ruby-dev gtk+-dev xorg-libXp-dev xorg-libXxf86vm-dev ruby-pkgconfig" TAGS="ruby programming gtk development" # Rules to configure and make the package. compile_rules() { cd $src # Select the parts to compile here: for LIB in $SELECTED_LIBS; do ruby extconf.rb $LIB && \ make $MAKEFLAGS && \ make DESTDIR=$DESTDIR install done } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr $fs/ }