wok-next view ruby-pango/receipt @ rev 21583
updated ddclient (3.8.3 -> 3.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 23 16:30:52 2020 +0100 (2020-06-23) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-pango"
4 VERSION="3.2.9"
5 CATEGORY="ruby"
6 SHORT_DESC="Ruby binding of pango-1.x"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://rubygems.org/gems/pango"
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 pango-dev \
18 ruby-gobject-introspection-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 fix gem
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 *-dev)
34 copy @ruby-dev
35 DEPENDS="pango-dev"
36 ;;
37 *)
38 copy @ruby
39 DEPENDS="ruby ruby-cairo-gobject ruby-gobject-introspection glib \
40 pango"
41 ;;
42 esac
43 }