wok-6.x annotate rubygems/receipt @ rev 6710
Fix build soft link in linux-module-headers.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 14 02:56:08 2010 +0000 (2010-10-14) |
parents | 9e5e5d877ecc |
children |
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" |
jozee@4972 | 13 TAGS="ruby" |
pankso@884 | 14 |
pankso@884 | 15 # Rules to configure and make the package. |
pankso@884 | 16 compile_rules() |
pankso@884 | 17 { |
pankso@884 | 18 cd $src |
pankso@2414 | 19 ruby setup.rb --prefix=/usr --destdir=$PWD/_pkg/usr |
pankso@884 | 20 } |
pankso@884 | 21 |
pankso@884 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@884 | 23 genpkg_rules() |
pankso@884 | 24 { |
pankso@2414 | 25 mkdir -p $fs/usr/lib/ruby/site_ruby/1.8 \ |
pankso@884 | 26 $fs/usr/lib/ruby/gems/1.8/cache \ |
pankso@884 | 27 $fs/usr/lib/ruby/gems/1.8/gems \ |
pankso@884 | 28 $fs/usr/lib/ruby/gems/1.8/specifications |
pankso@2414 | 29 cp -a $_pkg/usr/lib/* $fs/usr/lib/ruby/site_ruby/1.8 |
pankso@884 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@884 | 31 } |