wok-next view ruby-nokogiri/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-nokogiri"
4 VERSION="1.8.4"
5 CATEGORY="ruby"
6 SHORT_DESC="HTML, XML, SAX, and Reader parser"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}"
10 REPOLOGY="${PACKAGE/-/:}"
12 TARBALL="${PACKAGE#*-}-$VERSION.gem"
13 WGET_URL="https://rubygems.org/downloads/$TARBALL"
15 COOKOPTS="force-arch" # arch-specific paths for gem.build_complete
17 BUILD_DEPENDS="ruby-dev ruby-mini_portile2 ruby-pkg-config zlib-dev \
18 libxml2-dev libxslt-dev"
19 SPLIT="$PACKAGE-dev"
21 compile_rules() {
22 gem install \
23 --no-document \
24 --ignore-dependencies \
25 --no-user-install \
26 --build-root $install \
27 $src/$TARBALL \
28 -- --use-system-libraries &&
29 fix gem &&
30 chmod -R g-w $install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 *-dev)
36 copy @ruby-dev
37 ;;
38 *)
39 copy @ruby
40 DEPENDS="ruby ruby-mini_portile2 libruby libxml2 libxslt"
41 ;;
42 esac
43 }