wok-next diff ruby-rspec-mocks/receipt @ rev 21037
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 06 16:35:54 2018 +0200 (2018-11-06) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ruby-rspec-mocks/receipt Tue Nov 06 16:35:54 2018 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="ruby-rspec-mocks" 1.7 +VERSION="3.8.0" 1.8 +CATEGORY="ruby" 1.9 +SHORT_DESC="RSpec's 'test double' framework" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}" 1.13 +HOST_ARCH="any" 1.14 +REPOLOGY="${PACKAGE/-/:}" 1.15 + 1.16 +TARBALL="${PACKAGE#*-}-$VERSION.gem" 1.17 +WGET_URL="http://rubygems.org/downloads/$TARBALL" 1.18 + 1.19 +BUILD_DEPENDS="ruby-dev" 1.20 + 1.21 +compile_rules() { 1.22 + gem install \ 1.23 + --no-document \ 1.24 + --ignore-dependencies \ 1.25 + --no-user-install \ 1.26 + --build-root $install \ 1.27 + $src/$TARBALL && 1.28 + fix gem 1.29 +} 1.30 + 1.31 +genpkg_rules() { 1.32 + copy @ruby 1.33 + DEPENDS="ruby ruby-diff-lcs ruby-rspec-support" 1.34 +}