wok-next view ruby-cairo-gobject/receipt @ rev 21261

updated fbida (2.09 -> 2.14)
author Hans-G?nter Theisgen
date Fri Dec 06 14:58:07 2019 +0100 (2019-12-06)
parents e19ff076dc63
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-cairo-gobject"
4 VERSION="3.2.9"
5 CATEGORY="ruby"
6 SHORT_DESC="Ruby binding of cairo-gobject"
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 COOKOPTS="force-arch" # arch-specific paths for gem.build_complete
17 BUILD_DEPENDS="ruby-dev ruby-glib2-dev ruby-cairo-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 gem install \
22 --no-document \
23 --ignore-dependencies \
24 --no-user-install \
25 --build-root $install \
26 $src/$TARBALL &&
27 fix gem
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 *-dev)
33 copy @ruby-dev
34 DEPENDS="ruby-cairo-gobject cairo-dev"
35 ;;
36 *)
37 copy @ruby
38 DEPENDS="ruby ruby-cairo ruby-glib2 libcairo"
39 ;;
40 esac
41 }