wok-next view ruby-test-unit/receipt @ rev 21059

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 04 13:43:21 2018 +0200 (2018-12-04)
parents efc1e4b02968
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-test-unit" # ruby-stdlib already provides test-unit
4 VERSION="3.2.8"
5 CATEGORY="ruby"
6 SHORT_DESC="Unit testing framework for Ruby"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT PSFL"
9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}"
10 HOST_ARCH="any"
11 REPOLOGY="${PACKAGE/-/:}"
13 TARBALL="${PACKAGE#*-}-$VERSION.gem"
14 WGET_URL="https://rubygems.org/downloads/$TARBALL"
16 BUILD_DEPENDS="ruby-dev"
17 COPY_std="@ruby"
18 DEPENDS_std="ruby"
20 compile_rules() {
21 gem install \
22 --no-document \
23 --ignore-dependencies \
24 --no-user-install \
25 --build-root $install \
26 $src/$TARBALL &&
27 fix gem &&
28 find $install -type f -perm 664 -exec chmod 644 '{}' \;
29 }