wok-next view rubygems/receipt @ rev 6640

Removed linux-headers as build_depends in acpid, ctags, kismet, and vpnc. Linux-headers is in slitaz-toolchain so it doesn't need to be depend on it directly.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 10 15:15:08 2010 +0000 (2010-10-10)
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 }