wok-next view ruby-cairo/receipt @ rev 21022
Combine rox-filer
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 04:01:01 2018 +0200 (2018-11-03) |
parents | 270c09f6a958 |
children | e19ff076dc63 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-cairo"
4 VERSION="1.15.14"
5 CATEGORY="ruby"
6 SHORT_DESC="Ruby bindings for cairo"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
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 BUILD_DEPENDS="ruby-dev ruby-pkg-config ruby-native-package-installer cairo-dev"
16 SPLIT="$PACKAGE-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 case $PACKAGE in
30 *-dev)
31 copy @ruby-dev
32 DEPENDS="ruby-cairo cairo-dev"
33 ;;
34 *)
35 copy @ruby
36 DEPENDS="ruby ruby-native-package-installer ruby-pkg-config cairo \
37 freetype"
38 ;;
39 esac
40 }