wok view ruby-gtk2/receipt @ rev 8143
aufs: aufs_type.h file will be install in aufs instead of linux-module-headers. It needed to be in /usr/include/linux folder anyways.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Jan 25 00:03:50 2011 +0000 (2011-01-25) |
parents | 8f653336c581 |
children | 223fab6bdca1 |
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"
9 PACKAGE="ruby-gtk2"
10 VERSION="0.90.5"
11 CATEGORY="development"
12 SHORT_DESC="GTK+ bindings for Ruby."
13 MAINTAINER="ben@seawolfsanctuary.com"
14 SOURCE="ruby-gnome2-all"
15 TARBALL="$SOURCE-$VERSION.tar.gz"
16 WEB_SITE="http://ruby-gnome2.sourceforge.jp/"
17 WGET_URL="$SF_MIRROR/ruby-gnome2/$TARBALL"
19 DEPENDS="ruby gtk+ xorg-libXp xorg-libXxf86vm"
20 BUILD_DEPENDS="ruby ruby-dev gtk+-dev xorg-libXp-dev xorg-libXxf86vm-dev ruby-pkgconfig"
22 TAGS="ruby programming gtk development"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
29 # Select the parts to compile here:
30 for LIB in $SELECTED_LIBS; do
31 ruby extconf.rb $LIB && \
32 make -j4 && \
33 make DESTDIR=$PWD/_pkg install
34 done
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $_pkg/usr $fs/
43 }