wok-stable view rubygems/receipt @ rev 7650

Add squashfs+xz to kernel. This allows for greater compressing then lzma and it will work without cause a kernel opps. As long as the custom code for freeing lzma initramfs stays with lzma initramfs.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Dec 14 21:45:09 2010 +0000 (2010-12-14)
parents 9e5e5d877ecc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rubygems"
4 VERSION="1.3.1"
5 CATEGORY="development"
6 SHORT_DESC="Rubx packages Manager."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tgz"
9 DEPENDS="ruby"
10 BUILD_DEPENDS="ruby"
11 WEB_SITE="http://www.rubygems.org/"
12 WGET_URL="http://rubyforge.org/frs/download.php/45905/$TARBALL"
13 TAGS="ruby"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ruby setup.rb --prefix=/usr --destdir=$PWD/_pkg/usr
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib/ruby/site_ruby/1.8 \
26 $fs/usr/lib/ruby/gems/1.8/cache \
27 $fs/usr/lib/ruby/gems/1.8/gems \
28 $fs/usr/lib/ruby/gems/1.8/specifications
29 cp -a $_pkg/usr/lib/* $fs/usr/lib/ruby/site_ruby/1.8
30 cp -a $_pkg/usr/bin $fs/usr
31 }