wok-next annotate ruby-sassc/receipt @ rev 21156
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 02 16:32:35 2019 +0200 (2019-02-02) |
parents | e19ff076dc63 |
children |
rev | line source |
---|---|
al@21051 | 1 # SliTaz package receipt v2. |
al@21051 | 2 |
al@21051 | 3 PACKAGE="ruby-sassc" |
al@21051 | 4 VERSION="2.0.0" |
al@21051 | 5 CATEGORY="ruby" |
al@21051 | 6 SHORT_DESC="Use libsass with Ruby" |
al@21051 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@21051 | 8 LICENSE="MIT" |
al@21051 | 9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}" |
al@21051 | 10 REPOLOGY="${PACKAGE/-/:}" |
al@21051 | 11 |
al@21051 | 12 TARBALL="${PACKAGE#*-}-$VERSION.gem" |
al@21051 | 13 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
al@21051 | 14 TARBALL_SHA256="b619a0bf48d030e257cfba87c00c04c0eefe6c386bb7b81ee9088423b2e78877" |
al@21051 | 15 |
al@21094 | 16 COOKOPTS="force-arch" # arch-specific paths for gem.build_complete |
al@21094 | 17 |
al@21051 | 18 BUILD_DEPENDS="ruby-dev" |
al@21051 | 19 SPLIT="$PACKAGE-dev" |
al@21051 | 20 |
al@21051 | 21 COPY_std="@ruby" |
al@21051 | 22 COPY_dev="@ruby-dev" |
al@21051 | 23 |
al@21051 | 24 DEPENDS_std="ruby ruby-ffi ruby-rake" |
al@21051 | 25 |
al@21051 | 26 compile_rules() { |
al@21051 | 27 gem install \ |
al@21051 | 28 --no-document \ |
al@21051 | 29 --ignore-dependencies \ |
al@21051 | 30 --no-user-install \ |
al@21051 | 31 --build-root $install \ |
al@21051 | 32 $src/$TARBALL && |
al@21051 | 33 fix gem |
al@21051 | 34 } |