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