wok-next view ruby-gtk2/receipt @ rev 21403
updated php again (7.4.4 -> 7.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 21 10:28:30 2020 +0100 (2020-04-21) |
parents | e19ff076dc63 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-gtk2"
4 VERSION="3.2.9"
5 CATEGORY="ruby"
6 SHORT_DESC="Ruby binding of GTK+-2.x"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
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 ruby-cairo-gobject-dev \
18 gtk2-dev ruby-gobject-introspection-dev ruby-pango-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="ruby-gtk2 gtk2-dev"
36 ;;
37 *)
38 copy @ruby
39 DEPENDS="ruby ruby-atk ruby-gdk_pixbuf2 ruby-pango libcairo \
40 gdk-pixbuf glib gtk2 pango libx11"
41 TAGS="ruby programming gtk development"
42 ;;
43 esac
44 }