wok-next annotate ruby-test-unit/receipt @ rev 21386
updated nfs-utils (1.3.0 -> 2.4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 17 13:40:22 2020 +0100 (2020-04-17) |
parents | efc1e4b02968 |
children |
rev | line source |
---|---|
al@20910 | 1 # SliTaz package receipt v2. |
al@20910 | 2 |
al@20910 | 3 PACKAGE="ruby-test-unit" # ruby-stdlib already provides test-unit |
al@20910 | 4 VERSION="3.2.8" |
al@20910 | 5 CATEGORY="ruby" |
al@20910 | 6 SHORT_DESC="Unit testing framework for Ruby" |
al@20910 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20910 | 8 LICENSE="MIT PSFL" |
al@20910 | 9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}" |
al@20910 | 10 HOST_ARCH="any" |
al@20910 | 11 REPOLOGY="${PACKAGE/-/:}" |
al@20910 | 12 |
al@20910 | 13 TARBALL="${PACKAGE#*-}-$VERSION.gem" |
al@20910 | 14 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
al@20910 | 15 |
al@20910 | 16 BUILD_DEPENDS="ruby-dev" |
al@21051 | 17 COPY_std="@ruby" |
al@21051 | 18 DEPENDS_std="ruby" |
al@20910 | 19 |
al@20910 | 20 compile_rules() { |
al@20910 | 21 gem install \ |
al@20910 | 22 --no-document \ |
al@20910 | 23 --ignore-dependencies \ |
al@20910 | 24 --no-user-install \ |
al@20910 | 25 --build-root $install \ |
al@20910 | 26 $src/$TARBALL && |
al@21051 | 27 fix gem && |
al@21051 | 28 find $install -type f -perm 664 -exec chmod 644 '{}' \; |
al@20910 | 29 } |