wok-next annotate ruby-pango/receipt @ rev 21276
try to build gens-gs again
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 15:51:18 2019 +0100 (2019-12-07) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20910 | 1 # SliTaz package receipt v2. |
al@20910 | 2 |
al@20910 | 3 PACKAGE="ruby-pango" |
al@20910 | 4 VERSION="3.2.9" |
al@20910 | 5 CATEGORY="ruby" |
al@20910 | 6 SHORT_DESC="Ruby binding of pango-1.x" |
al@20910 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20910 | 8 LICENSE="LGPL2.1" |
al@21020 | 9 WEB_SITE="https://rubygems.org/gems/pango" |
al@20910 | 10 REPOLOGY="${PACKAGE/-/:}" |
al@20910 | 11 |
al@20910 | 12 TARBALL="${PACKAGE#*-}-$VERSION.gem" |
al@20910 | 13 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
al@20910 | 14 |
al@21094 | 15 COOKOPTS="force-arch" # arch-specific paths for gem.build_complete |
al@21094 | 16 |
al@20910 | 17 BUILD_DEPENDS="ruby-dev ruby-glib2-dev ruby-cairo-dev pango-dev \ |
al@20910 | 18 ruby-gobject-introspection-dev" |
al@20910 | 19 SPLIT="$PACKAGE-dev" |
al@20910 | 20 |
al@20910 | 21 compile_rules() { |
al@20910 | 22 gem install \ |
al@20910 | 23 --no-document \ |
al@20910 | 24 --ignore-dependencies \ |
al@20910 | 25 --no-user-install \ |
al@20910 | 26 --build-root $install \ |
al@20910 | 27 $src/$TARBALL && |
al@20910 | 28 fix gem |
al@20910 | 29 } |
al@20910 | 30 |
al@20910 | 31 genpkg_rules() { |
al@20910 | 32 case $PACKAGE in |
al@20910 | 33 *-dev) |
al@20910 | 34 copy @ruby-dev |
al@20910 | 35 DEPENDS="pango-dev" |
al@20910 | 36 ;; |
al@20910 | 37 *) |
al@20910 | 38 copy @ruby |
al@20910 | 39 DEPENDS="ruby ruby-cairo-gobject ruby-gobject-introspection glib \ |
al@20910 | 40 pango" |
al@20910 | 41 ;; |
al@20910 | 42 esac |
al@20910 | 43 } |