wok-next view ruby-rails-html-sanitizer/receipt @ rev 21382

updated nbd (3.3 -> 3.20)
author Hans-G?nter Theisgen
date Thu Apr 16 17:27:00 2020 +0100 (2020-04-16)
parents
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-rails-html-sanitizer"
4 VERSION="1.0.4"
5 CATEGORY="ruby"
6 SHORT_DESC="Sanitize HTML fragments in Rails applications"
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"
18 compile_rules() {
19 gem install \
20 --no-document \
21 --ignore-dependencies \
22 --no-user-install \
23 --build-root $install \
24 $src/$TARBALL &&
25 fix gem
26 }
28 genpkg_rules() {
29 copy @ruby
30 DEPENDS="ruby ruby-loofah"
31 }