wok annotate ruby-native-package-installer/receipt @ rev 23869
linld: typos in vga= support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 21 19:06:48 2020 +0000 (2020-06-21) |
parents | |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
Hans-G?nter@23626 | 1 # SliTaz package receipt. |
Hans-G?nter@23626 | 2 |
Hans-G?nter@23626 | 3 PACKAGE="ruby-native-package-installer" |
Hans-G?nter@23626 | 4 VERSION="1.0.9" |
Hans-G?nter@23626 | 5 CATEGORY="development" |
Hans-G?nter@23626 | 6 SHORT_DESC="Helper to install native packages on 'gem install'." |
Hans-G?nter@23626 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@23626 | 8 LICENSE="LGPL3" |
Hans-G?nter@23626 | 9 WEB_SITE="https://rubygems.org/gems/native-package-installer" |
Hans-G?nter@23626 | 10 |
Hans-G?nter@23626 | 11 SOURCE="native-package-installer" |
Hans-G?nter@23626 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23626 | 13 WGET_URL="https://github.com/ruby-gnome/$SOURCE/archive/$VERSION.tar.gz" |
Hans-G?nter@23626 | 14 |
Hans-G?nter@23626 | 15 DEPENDS="ruby" |
Hans-G?nter@23626 | 16 BUILD_DEPENDS="ruby-dev rubygems" |
Hans-G?nter@23626 | 17 |
Hans-G?nter@23626 | 18 COOK_OPT="!repack_src !unpack" |
Hans-G?nter@23626 | 19 |
Hans-G?nter@23626 | 20 # Rules to configure and make the package. |
Hans-G?nter@23626 | 21 compile_rules() |
Hans-G?nter@23626 | 22 { |
Hans-G?nter@23626 | 23 local _gemdir="$(ruby -r rubygems -e'puts Gem.default_dir')" |
Hans-G?nter@23626 | 24 gem install \ |
Hans-G?nter@23626 | 25 --ignore-dependencies \ |
Hans-G?nter@23626 | 26 -i "$DESTDIR/$_gemdir" \ |
Hans-G?nter@23626 | 27 native-package-installer |
Hans-G?nter@23626 | 28 } |
Hans-G?nter@23626 | 29 |
Hans-G?nter@23626 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@23626 | 31 genpkg_rules() |
Hans-G?nter@23626 | 32 { |
Hans-G?nter@23626 | 33 cp -a $install/usr $fs |
Hans-G?nter@23626 | 34 } |