wok-6.x view rubygems/receipt @ rev 16028

mpg123: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 08 09:11:33 2014 +0000 (2014-03-08)
parents 7c3c62a0fa06
children fa43369c61c4
line source
1 # SliTaz package receipt.
3 PACKAGE="rubygems"
4 VERSION="1.8.10"
5 CATEGORY="development"
6 SHORT_DESC="Ruby packages Manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://www.rubygems.org/"
11 WGET_URL="http://production.cf.rubygems.org/rubygems/$TARBALL"
12 TAGS="ruby"
14 DEPENDS="ruby libruby-extras"
15 BUILD_DEPENDS="ruby ruby-dev libruby-extras"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ruby setup.rb --destdir=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/
29 cp -a $install/usr/lib $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }