wok-next view ruby-glib2/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-glib2"
4 VERSION="3.2.9"
5 CATEGORY="ruby"
6 SHORT_DESC="Base features for GLib2 based bindings and many useful utility \
7 features"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://rubygems.org/gems/glib2"
11 REPOLOGY="${PACKAGE/-/:}"
13 TARBALL="${PACKAGE#*-}-$VERSION.gem"
14 WGET_URL="https://rubygems.org/downloads/$TARBALL"
16 COOKOPTS="force-arch" # arch-specific paths for gem.build_complete
18 BUILD_DEPENDS="ruby-dev ruby-pkg-config ruby-native-package-installer glib-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-glib2 glib-dev"
36 ;;
37 *)
38 copy @ruby
39 DEPENDS="ruby ruby-native-package-installer ruby-pkg-config glib"
40 ;;
41 esac
42 }