wok annotate rubygems/receipt @ rev 2829

add get-texlive
author Pierre-Jean Fichet <sygne@ombres.eu>
date Thu Apr 30 10:06:33 2009 +0000 (2009-04-30)
parents 6c4a9dddac48
children 8be66f03fbd2
rev   line source
pankso@884 1 # SliTaz package receipt.
pankso@884 2
pankso@884 3 PACKAGE="rubygems"
pankso@2414 4 VERSION="1.3.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@2414 12 WGET_URL="http://rubyforge.org/frs/download.php/45905/$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@2414 18 ruby setup.rb --prefix=/usr --destdir=$PWD/_pkg/usr
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@2414 24 mkdir -p $fs/usr/lib/ruby/site_ruby/1.8 \
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@2414 28 cp -a $_pkg/usr/lib/* $fs/usr/lib/ruby/site_ruby/1.8
pankso@884 29 cp -a $_pkg/usr/bin $fs/usr
pankso@884 30 }