wok view rubygems/receipt @ rev 25707
Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 05 14:08:34 2024 +0000 (3 months ago) |
parents | b9659e3c2111 |
children |
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 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://github.com/rubygems/rubygems/releases 2>/dev/null | \
25 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ruby setup.rb --destdir=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }