wok-6.x annotate rubygems/receipt @ rev 24023
syslinux/taziso: 5in1 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 15 20:49:46 2021 +0000 (2021-03-15) |
parents | ebc99b3ea1aa |
children | b9659e3c2111 |
rev | line source |
---|---|
pascal@11565 | 1 # SliTaz package receipt. |
pascal@11565 | 2 |
pascal@11565 | 3 PACKAGE="rubygems" |
Hans-G?nter@23627 | 4 VERSION="3.1.2" |
pascal@11565 | 5 CATEGORY="development" |
Hans-G?nter@21854 | 6 TAGS="ruby" |
pascal@11565 | 7 SHORT_DESC="Ruby packages Manager." |
pascal@11565 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15601 | 9 LICENSE="MIT" |
Hans-G?nter@21854 | 10 WEB_SITE="https://www.rubygems.org/" |
Hans-G?nter@21854 | 11 |
pascal@11565 | 12 TARBALL="$PACKAGE-$VERSION.tgz" |
Hans-G?nter@21855 | 13 WGET_URL="${WEB_SITE}$PACKAGE/$TARBALL" |
Hans-G?nter@21854 | 14 |
Hans-G?nter@21854 | 15 DEPENDS="libruby-extras ruby" |
Hans-G?nter@21854 | 16 BUILD_DEPENDS="libruby-extras ruby-dev" |
Hans-G?nter@21854 | 17 |
pankso@16189 | 18 HOST_ARCH="i486 arm" |
pankso@16189 | 19 # ARM: ruby-dev libruby-extras build host must be installed |
pascal@15601 | 20 |
pascal@11565 | 21 # Rules to configure and make the package. |
pascal@11565 | 22 compile_rules() |
pascal@11565 | 23 { |
pascal@15601 | 24 ruby setup.rb --destdir=$DESTDIR |
pascal@11565 | 25 } |
pascal@11565 | 26 |
pascal@11565 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11565 | 28 genpkg_rules() |
pascal@11565 | 29 { |
pankso@16189 | 30 mkdir -p $fs/usr |
Hans-G?nter@21854 | 31 |
Hans-G?nter@23627 | 32 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@23627 | 33 cp -a $install/usr/bin $fs/usr |
pascal@11565 | 34 } |