wok-next view ruby-power_assert/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-power_assert" # ruby-stdlib already provides power_assert
4 VERSION="1.1.3"
5 CATEGORY="ruby"
6 SHORT_DESC="Power Assert for Ruby"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}"
10 HOST_ARCH="any"
11 REPOLOGY="ruby:power-assert"
13 TARBALL="${PACKAGE#*-}-$VERSION.gem"
14 WGET_URL="https://rubygems.org/downloads/$TARBALL"
16 BUILD_DEPENDS="ruby-dev"
18 compile_rules() {
19 gem install \
20 --no-document \
21 --ignore-dependencies \
22 --no-user-install \
23 --build-root $install \
24 $src/$TARBALL &&
25 fix gem &&
26 chmod -R g-w $install
27 }
29 genpkg_rules() {
30 copy @ruby
31 DEPENDS="ruby"
32 }