wok annotate rubygems/receipt @ rev 1457

atl2: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 03 16:39:33 2008 +0000 (2008-10-03)
parents
children 9e5e5d877ecc
rev   line source
pankso@884 1 # SliTaz package receipt.
pankso@884 2
pankso@884 3 PACKAGE="rubygems"
pankso@884 4 VERSION="1.1.1"
pankso@884 5 CATEGORY="development"
pankso@884 6 SHORT_DESC="Rubx packages Manager."
pankso@884 7 MAINTAINER="pankso@slitaz.org"
pankso@884 8 TARBALL="$PACKAGE-$VERSION.tgz"
pankso@884 9 DEPENDS="ruby"
pankso@884 10 BUILD_DEPENDS="ruby"
pankso@884 11 WEB_SITE="http://www.rubygems.org/"
pankso@884 12 WGET_URL="http://rubyforge.org/frs/download.php/35283/$TARBALL"
pankso@884 13
pankso@884 14 # Rules to configure and make the package.
pankso@884 15 compile_rules()
pankso@884 16 {
pankso@884 17 cd $src
pankso@884 18 ruby setup.rb --prefix=$PWD/_pkg/usr --no-rdoc
pankso@884 19 }
pankso@884 20
pankso@884 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@884 22 genpkg_rules()
pankso@884 23 {
pankso@884 24 mkdir -p $fs/usr/lib/ruby/site_ruby/1.8/rubygems \
pankso@884 25 $fs/usr/lib/ruby/gems/1.8/cache \
pankso@884 26 $fs/usr/lib/ruby/gems/1.8/gems \
pankso@884 27 $fs/usr/lib/ruby/gems/1.8/specifications
pankso@884 28 cp -a $_pkg/usr/lib/* $fs/usr/lib/ruby/site_ruby/1.8/rubygems
pankso@884 29 cp -a $_pkg/usr/bin $fs/usr
pankso@884 30 }