wok-next view ruby-sass/receipt @ rev 21271
up openssl10: 1.0.2o to 1.0.2t -> soon EOL
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Dec 07 12:21:21 2019 +0000 (2019-12-07) |
parents | e7e7475e84c9 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-sass"
4 VERSION="3.7.2"
5 CATEGORY="ruby"
6 SHORT_DESC="CSS extension"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
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 REVISION VERSION*"
18 DEPENDS_std="ruby ruby-stdlib ruby-sass-listen"
20 compile_rules() {
21 gem install \
22 --no-document \
23 --ignore-dependencies \
24 --no-user-install \
25 --build-root $install \
26 $src/$TARBALL || return 1
28 # Keep some files from being moved to docdir by `fix gem`:
29 t=$(mktemp -d)
30 find $install/usr/lib/ruby/gems/*/gems/${PACKAGE#*-}-$VERSION/ \
31 \( -name 'REVISION' -o -name 'VERSION*' \) -exec mv '{}' $t \;
33 fix gem
35 # Return files back:
36 mv $t/* $install/usr/lib/ruby/gems/*/gems/${PACKAGE#*-}-$VERSION/
37 rm -r $t
38 }