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

lftp: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 26 14:28:44 2020 +0000 (2020-07-26)
parents ebc99b3ea1aa
children b9659e3c2111
line source
1 # SliTaz package receipt.
3 PACKAGE="rubygems"
4 VERSION="3.1.2"
5 CATEGORY="development"
6 TAGS="ruby"
7 SHORT_DESC="Ruby packages Manager."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.rubygems.org/"
12 TARBALL="$PACKAGE-$VERSION.tgz"
13 WGET_URL="${WEB_SITE}$PACKAGE/$TARBALL"
15 DEPENDS="libruby-extras ruby"
16 BUILD_DEPENDS="libruby-extras ruby-dev"
18 HOST_ARCH="i486 arm"
19 # ARM: ruby-dev libruby-extras build host must be installed
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ruby setup.rb --destdir=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }