wok view rubygems/receipt @ rev 24391
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 07 18:01:05 2022 +0000 (2022-02-07) |
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 }