wok-next view ruby-cairo/receipt @ rev 20955
Update Perl packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Sep 03 10:09:42 2018 +0300 (2018-09-03) |
parents | efc1e4b02968 |
children | d5aab818505e |
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 HOST_ARCH="i486 x86_64"
11 REPOLOGY="${PACKAGE/-/:}"
13 TARBALL="${PACKAGE#*-}-$VERSION.gem"
14 WGET_URL="https://rubygems.org/downloads/$TARBALL"
16 BUILD_DEPENDS="ruby-dev ruby-pkg-config ruby-native-package-installer cairo-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 gem install \
21 --no-document \
22 --ignore-dependencies \
23 --no-user-install \
24 --build-root $install \
25 $src/$TARBALL &&
26 fix gem
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 *-dev)
32 copy @ruby-dev
33 DEPENDS="ruby-cairo cairo-dev"
34 ;;
35 *)
36 copy @ruby
37 DEPENDS="ruby ruby-native-package-installer ruby-pkg-config cairo \
38 freetype"
39 ;;
40 esac
41 }