wok-next view ruby-gtk2/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 5669e8b3be70 |
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 BUILD_DEPENDS="ruby-dev ruby-glib2-dev ruby-cairo-dev ruby-cairo-gobject-dev \
16 gtk2-dev ruby-gobject-introspection-dev ruby-pango-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-gtk2 gtk2-dev"
34 ;;
35 *)
36 copy @ruby
37 DEPENDS="ruby ruby-atk ruby-gdk_pixbuf2 ruby-pango cairo \
38 gdk-pixbuf glib gtk2 pango xorg-libX11"
39 TAGS="ruby programming gtk development"
40 ;;
41 esac
42 }